summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2008-08-23 00:59:14 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2008-08-23 00:59:14 (GMT)
commit69ed5240451b5e9642ddc87bb6b0ca2d2e47d784 (patch)
tree1d9342e923d4c6aa01cd1cdff83c845b6af945f3 /Lib/test/test_struct.py
parent94a730540ae65b34c596d99e4dd199bfaee4332c (diff)
downloadcpython-69ed5240451b5e9642ddc87bb6b0ca2d2e47d784.zip
cpython-69ed5240451b5e9642ddc87bb6b0ca2d2e47d784.tar.gz
cpython-69ed5240451b5e9642ddc87bb6b0ca2d2e47d784.tar.bz2
Fix bug 3625: test issues on 64bit windows. r=pitrou
Diffstat (limited to 'Lib/test/test_struct.py')
-rw-r--r--Lib/test/test_struct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py
index 5e4f0cc..ec4a2db 100644
--- a/Lib/test/test_struct.py
+++ b/Lib/test/test_struct.py
@@ -8,7 +8,7 @@ from test.test_support import TestFailed, verbose, run_unittest, catch_warning
import sys
ISBIGENDIAN = sys.byteorder == "big"
-IS32BIT = sys.maxint == 0x7fffffff
+IS32BIT = sys.maxsize == 0x7fffffff
del sys
try: