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.
There was an error while loading. Please reload this page.
1 parent c9bfc13 commit e23c90cCopy full SHA for e23c90c
1 file changed
Lib/test/test_deque.py
@@ -744,8 +744,8 @@ class C(object):
744
@support.cpython_only
745
def test_sizeof(self):
746
BLOCKLEN = 64
747
- basesize = support.calcobjsize('2P4nlP')
748
- blocksize = struct.calcsize('2P%dP' % BLOCKLEN)
+ basesize = support.calcvobjsize('2P4nP')
+ blocksize = struct.calcsize('P%dPP' % BLOCKLEN)
749
self.assertEqual(object.__sizeof__(deque()), basesize)
750
check = self.check_sizeof
751
check(deque(), basesize + blocksize)
0 commit comments