We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b05ea commit 205fd00Copy full SHA for 205fd00
1 file changed
Lib/test/test_queue.py
@@ -1040,7 +1040,7 @@ def test_simplequeue_sizeof_reflects_buffer_growth(self):
1040
q.put(object())
1041
after = sys.getsizeof(q)
1042
self.assertGreater(after, before)
1043
- ptr = support.calcobjsize(1) - support.calcobjsize(0)
+ ptr = support.calcobjsize("P") - support.calcobjsize("")
1044
self.assertEqual((after - before) % ptr, 0)
1045
1046
def test_reentrancy(self):
0 commit comments