Author: russellm
Date: 2008-07-11 09:29:47 -0500 (Fri, 11 Jul 2008)
New Revision: 7890

Modified:
   django/trunk/tests/regressiontests/utils/datastructures.py
Log:
Fixed #7303 -- Clarified a test case that was dependent on dict ordering. 
Thanks to leosoto for the patch.

Modified: django/trunk/tests/regressiontests/utils/datastructures.py
===================================================================
--- django/trunk/tests/regressiontests/utils/datastructures.py  2008-07-11 
14:06:59 UTC (rev 7889)
+++ django/trunk/tests/regressiontests/utils/datastructures.py  2008-07-11 
14:29:47 UTC (rev 7890)
@@ -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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to