mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Follow up to #9778: fix regressions on 64-bit Windows builds
This commit is contained in:
parent
1e908af335
commit
fbb1c6191c
4 changed files with 9 additions and 18 deletions
|
@ -827,7 +827,7 @@ class SizeofTest(unittest.TestCase):
|
|||
# we need to test for both sizes, because we don't know if the string
|
||||
# has been cached
|
||||
for s in samples:
|
||||
basicsize = size(h + 'PPliP') + usize * (len(s) + 1)
|
||||
basicsize = size(h + 'PPPiP') + usize * (len(s) + 1)
|
||||
check(s, basicsize)
|
||||
# weakref
|
||||
import weakref
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue