split table must be correctly resized and converted to generic combined table
(self)
| 1073 | |
| 1074 | @support.cpython_only |
| 1075 | def test_splittable_to_generic_combinedtable(self): |
| 1076 | """split table must be correctly resized and converted to generic combined table""" |
| 1077 | class C: |
| 1078 | pass |
| 1079 | |
| 1080 | a = C() |
| 1081 | a.x = 1 |
| 1082 | d = a.__dict__ |
| 1083 | d[2] = 2 # split table is resized to a generic combined table |
| 1084 | |
| 1085 | self.assertEqual(list(d), ['x', 2]) |
| 1086 | |
| 1087 | def test_iterator_pickling(self): |
| 1088 | for proto in range(pickle.HIGHEST_PROTOCOL + 1): |
nothing calls this directly
no test coverage detected