Skip to content

Commit 5d6db25

Browse files
committed
fix SharedKeyTests
1 parent ede0819 commit 5d6db25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_descr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5346,7 +5346,7 @@ class B(A):
53465346

53475347
a, b = A(), B()
53485348
self.assertEqual(sys.getsizeof(vars(a)), sys.getsizeof(vars(b)))
5349-
self.assertLess(sys.getsizeof(vars(a)), sys.getsizeof({}))
5349+
self.assertLess(sys.getsizeof(vars(a)), sys.getsizeof({"a":1}))
53505350
# Initial hash table can contain at most 5 elements.
53515351
# Set 6 attributes to cause internal resizing.
53525352
a.x, a.y, a.z, a.w, a.v, a.u = range(6)

0 commit comments

Comments
 (0)