Ticket #7303: avoid_checking_for_builtin_dict_order.patch
File avoid_checking_for_builtin_dict_order.patch, 589 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/utils/datastructures.py
diff -r 692497ed7bf1 -r 242db15c1de0 tests/regressiontests/utils/datastructures.py
a b 44 44 >>> d.keys() 45 45 [2, 1] 46 46 >>> real_dict = dict(tuples) 47 >>> real_dict.values()47 >>> sorted(real_dict.values()) # Not testing order, just contents 48 48 ['one', 'second-two'] 49 >>> d.values() 49 >>> d.values() # Here the order of SortedDict values *is* what we are testing 50 50 ['second-two', 'one'] 51 """ 52 No newline at end of file 51 """