diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -6,6 +6,7 @@ import sys ISBIGENDIAN = sys.byteorder == "big" +IS32BIT = sys.maxint == 2147483647 del sys verify((struct.pack('=i', 1)[0] == chr(0)) == ISBIGENDIAN, "bigendian determination appears wrong") @@ -626,4 +627,5 @@ test_pack_into() test_pack_into_fn() test_unpack_with_buffer() -test_crasher() +if IS32BIT: + test_crasher()