Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7303 -- Clarified a test case that was dependent on dict order…

…ing. Thanks to leosoto for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e31945a2ada75096883cea3f577dae509fd5c05d 1 parent bbb3843
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/utils/datastructures.py
View
4 tests/regressiontests/utils/datastructures.py
@@ -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']
"""
Please sign in to comment.
Something went wrong with that request. Please try again.