mirror of https://github.com/django/django.git
Fixed #7303 -- Clarified a test case that was dependent on dict ordering. Thanks to leosoto for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bbb384366f
commit
e31945a2ad
|
@ -44,8 +44,8 @@
|
|||
>>> d.keys()
|
||||
[2, 1]
|
||||
>>> real_dict = dict(tuples)
|
||||
>>> real_dict.values()
|
||||
>>> sorted(real_dict.values())
|
||||
['one', 'second-two']
|
||||
>>> d.values()
|
||||
>>> d.values() # Here the order of SortedDict values *is* what we are testing
|
||||
['second-two', 'one']
|
||||
"""
|
Loading…
Reference in New Issue