diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-12 21:58:39 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-12 21:58:39 (GMT) |
commit | 98c62bd1c8facd131a21d7ae7bcf077e0a774acd (patch) | |
tree | 43180633ed8f2b3702ae3b9c059d68b1f160e056 /Lib/test/support.py | |
parent | e0d3f8a654a80102a7646ba1dac9bec2bbc27fc9 (diff) | |
download | cpython-98c62bd1c8facd131a21d7ae7bcf077e0a774acd.zip cpython-98c62bd1c8facd131a21d7ae7bcf077e0a774acd.tar.gz cpython-98c62bd1c8facd131a21d7ae7bcf077e0a774acd.tar.bz2 |
A better message again
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 897d905..ea5b9cb 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1039,7 +1039,7 @@ def bigaddrspacetest(f): """Decorator for tests that fill the address space.""" def wrapper(self): if max_memuse < MAX_Py_ssize_t: - if MAX_Py_ssize_t > 2**32: + if MAX_Py_ssize_t >= 2**63 - 1 and max_memuse >= 2**31: raise unittest.SkipTest( "not enough memory: try a 32-bit build instead") else: |