diff options
| author | Yoong Kang Lim <yoongkang.lim@gmail.com> | 2016-01-28 23:06:53 +1100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-28 10:38:57 -0500 |
| commit | ca6830c49f6676193be502f1c1b13d6ed75beabd (patch) | |
| tree | 33cbc53a290a28fae53143421aaa3e6a22881dbc | |
| parent | ca6ab72bb76fefac0188b95e60320466cc8d7610 (diff) | |
[1.9.x] Added a missing test method in tests/migrations/test_writer.py.
Backport of 5453aa66cfdf228f40dc1997d811ca986de405a3 from master
| -rw-r--r-- | tests/migrations/test_writer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/migrations/test_writer.py b/tests/migrations/test_writer.py index 9027c3b698..6be8f074f8 100644 --- a/tests/migrations/test_writer.py +++ b/tests/migrations/test_writer.py @@ -297,6 +297,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()) |
