Ticket #7303: avoid_checking_for_builtin_dict_order.2.patch
File avoid_checking_for_builtin_dict_order.2.patch, 606 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/utils/datastructures.py
diff -r 7894933e190c 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 >>> values = real_dict.values() 48 >>> values.sort() # Not testing order, just contents 49 >>> values 48 50 ['one', 'second-two'] 49 >>> d.values() 51 >>> d.values() # Here the order of SortedDict values *is* what we are testing 50 52 ['second-two', 'one'] 51 """ 52 No newline at end of file 53 """