mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed #29814 -- Added support for NoneType serialization in migrations.
This commit is contained in:
parent
52fec5d18f
commit
adfdb9f169
5 changed files with 12 additions and 1 deletions
|
|
@ -513,6 +513,9 @@ class WriterTests(SimpleTestCase):
|
|||
self.assertEqual(result.args, value.args)
|
||||
self.assertEqual(result.keywords, value.keywords)
|
||||
|
||||
def test_serialize_type_none(self):
|
||||
self.assertSerializedEqual(type(None))
|
||||
|
||||
def test_simple_migration(self):
|
||||
"""
|
||||
Tests serializing a simple migration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue