Explorar o código

Added a missing test method in tests/migrations/test_writer.py.

Yoong Kang Lim %!s(int64=9) %!d(string=hai) anos
pai
achega
5453aa66cf
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/migrations/test_writer.py

+ 2 - 0
tests/migrations/test_writer.py

@@ -357,6 +357,8 @@ class WriterTests(SimpleTestCase):
             SettingsReference("someapp.model", "AUTH_USER_MODEL"),
             ("settings.AUTH_USER_MODEL", {"from django.conf import settings"})
         )
+
+    def test_serialize_iterators(self):
         self.assertSerializedResultEqual(
             ((x, x * x) for x in range(3)),
             ("((0, 0), (1, 1), (2, 4))", set())