Ticket #7303: avoid_checking_for_builtin_dict_order.patch

File avoid_checking_for_builtin_dict_order.patch, 589 bytes (added by Leo Soto M., 16 years ago)
  • tests/regressiontests/utils/datastructures.py

    diff -r 692497ed7bf1 -r 242db15c1de0 tests/regressiontests/utils/datastructures.py
    a b  
    4444>>> d.keys()
    4545[2, 1]
    4646>>> real_dict = dict(tuples)
    47 >>> real_dict.values()
     47>>> sorted(real_dict.values()) # Not testing order, just contents
    4848['one', 'second-two']
    49 >>> d.values()
     49>>> d.values() # Here the order of SortedDict values *is* what we are testing
    5050['second-two', 'one']
    51 """
    52  No newline at end of file
     51"""
Back to Top