diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-23 17:37:54 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-23 17:37:54 (GMT) |
commit | fbb1c6191c56462a8c83c6317989e28a0e154b42 (patch) | |
tree | 7e60cfc46bd867898a296218c8f87fb8b59ba0b9 /Lib/test/test_sys.py | |
parent | 1e908af3354e20e18dfdcf30bc8aee6ab53ab1ee (diff) | |
download | cpython-fbb1c6191c56462a8c83c6317989e28a0e154b42.zip cpython-fbb1c6191c56462a8c83c6317989e28a0e154b42.tar.gz cpython-fbb1c6191c56462a8c83c6317989e28a0e154b42.tar.bz2 |
Follow up to #9778: fix regressions on 64-bit Windows builds
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 93eed03..5736b44 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -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 |