Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60ea61 commit a573d9eCopy full SHA for a573d9e
Lib/test/test_dict.py
@@ -1030,21 +1030,6 @@ def __init__(self, order):
1030
d.update(o.__dict__)
1031
self.assertEqual(list(d), ["c", "b", "a"])
1032
1033
- @support.cpython_only
1034
- def test_splittable_to_generic_combinedtable(self):
1035
- """split table must be correctly resized and converted to generic combined table"""
1036
- class C:
1037
- pass
1038
-
1039
- a = C()
1040
- a.x = 1
1041
- d = a.__dict__
1042
- before_resize = sys.getsizeof(d)
1043
- d[2] = 2 # split table is resized to a generic combined table
1044
1045
- self.assertGreater(sys.getsizeof(d), before_resize)
1046
- self.assertEqual(list(d), ['x', 2])
1047
1048
def test_iterator_pickling(self):
1049
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
1050
data = {1:"a", 2:"b", 3:"c"}
0 commit comments