mirror of https://github.com/django/django.git
Fixed tuple serialization test.
Thanks to rockallite for the report.
This commit is contained in:
parent
f851a954ac
commit
f01d2a8f9b
|
@ -131,7 +131,7 @@ class WriterTests(TestCase):
|
||||||
tuple) default_permissions = ()
|
tuple) default_permissions = ()
|
||||||
"""
|
"""
|
||||||
empty_tuple = ()
|
empty_tuple = ()
|
||||||
one_item_tuple = ('a')
|
one_item_tuple = ('a',)
|
||||||
many_items_tuple = ('a', 'b', 'c')
|
many_items_tuple = ('a', 'b', 'c')
|
||||||
self.assertSerializedEqual(empty_tuple)
|
self.assertSerializedEqual(empty_tuple)
|
||||||
self.assertSerializedEqual(one_item_tuple)
|
self.assertSerializedEqual(one_item_tuple)
|
||||||
|
|
Loading…
Reference in New Issue