1
0
mirror of https://github.com/django/django.git synced 2025-04-14 04:22:21 +00:00

[1.7.x] Fixed tuple serialization test.

Thanks to rockallite for the report.

Backport of f01d2a8f9be8bc2005b7f1620a2ca40530fb5065 from master.
This commit is contained in:
Baptiste Mispelon 2014-05-23 14:50:10 +02:00
parent 8462883f9b
commit 8f87b679ed

View File

@ -131,7 +131,7 @@ class WriterTests(TestCase):
tuple) default_permissions = ()
"""
empty_tuple = ()
one_item_tuple = ('a')
one_item_tuple = ('a',)
many_items_tuple = ('a', 'b', 'c')
self.assertSerializedEqual(empty_tuple)
self.assertSerializedEqual(one_item_tuple)