Ticket #18175: failing_sorted_dict_test.diff

File failing_sorted_dict_test.diff, 622 bytes (added by linovia, 12 years ago)

Failing test case

  • tests/regressiontests/utils/datastructures.py

     
    111111            {7: 'seven', 1: 'one', 9: 'nine'}
    112112        )
    113113
     114    def test_copy(self):
     115        d = SortedDict(((1, "one"), (0, "zero"), (2, "two")))
     116        copy.copy(d)
     117        self.assertEqual(
     118            d.keys(),
     119            [1, 0, 2]
     120        )
     121
    114122    def test_clear(self):
    115123        self.d1.clear()
    116124        self.assertEqual(self.d1, {})
Back to Top