From: Antoine Pitrou Date: Wed, 12 Jan 2011 21:58:39 +0000 (+0000) Subject: A better message again X-Git-Tag: v3.2rc1~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98c62bd1c8facd131a21d7ae7bcf077e0a774acd;p=thirdparty%2FPython%2Fcpython.git A better message again --- diff --git a/Lib/test/support.py b/Lib/test/support.py index 897d905f3ba6..ea5b9cbda46e 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: