Ticket #18175: failing_sorted_dict_test.diff
File failing_sorted_dict_test.diff, 622 bytes (added by , 13 years ago) |
---|
-
tests/regressiontests/utils/datastructures.py
111 111 {7: 'seven', 1: 'one', 9: 'nine'} 112 112 ) 113 113 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 114 122 def test_clear(self): 115 123 self.d1.clear() 116 124 self.assertEqual(self.d1, {})