diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-11 14:29:47 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-11 14:29:47 +0000 |
| commit | e31945a2ada75096883cea3f577dae509fd5c05d (patch) | |
| tree | 00fc8f664b0b003f2bffd740b1845cffe42f4c47 /tests/regressiontests/utils | |
| parent | bbb384366f6ab86411756ce7b459a2f15d825e08 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/utils')
| -rw-r--r-- | tests/regressiontests/utils/datastructures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/utils/datastructures.py b/tests/regressiontests/utils/datastructures.py index 52bf81a9e0..86e4112577 100644 --- a/tests/regressiontests/utils/datastructures.py +++ b/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'] """
\ No newline at end of file |
