Skip to content
Snippets Groups Projects
Commit ca6830c4 authored by Yoong Kang Lim's avatar Yoong Kang Lim Committed by Tim Graham
Browse files

[1.9.x] Added a missing test method in tests/migrations/test_writer.py.

Backport of 5453aa66 from master
parent ca6ab72b
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment