Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a573d9e

Browse files
committed
remove legacy test
1 parent b60ea61 commit a573d9e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Lib/test/test_dict.py

-15
Original file line numberDiff line numberDiff line change
@@ -1030,21 +1030,6 @@ def __init__(self, order):
10301030
d.update(o.__dict__)
10311031
self.assertEqual(list(d), ["c", "b", "a"])
10321032

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-
10481033
def test_iterator_pickling(self):
10491034
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
10501035
data = {1:"a", 2:"b", 3:"c"}

0 commit comments

Comments
 (0)