Skip to content

Commit 2757082

Browse files
committed
fix SharedKeyTests
1 parent 69f1a32 commit 2757082

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
@@ -5264,7 +5264,7 @@ class B(A):
52645264

52655265
a, b = A(), B()
52665266
self.assertEqual(sys.getsizeof(vars(a)), sys.getsizeof(vars(b)))
5267-
self.assertLess(sys.getsizeof(vars(a)), sys.getsizeof({}))
5267+
self.assertLess(sys.getsizeof(vars(a)), sys.getsizeof({"a":1}))
52685268
# Initial hash table can contain at most 5 elements.
52695269
# Set 6 attributes to cause internal resizing.
52705270
a.x, a.y, a.z, a.w, a.v, a.u = range(6)

0 commit comments

Comments
 (0)