Kaydet (Commit) 98c62bd1 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

A better message again

üst e0d3f8a6
...@@ -1039,7 +1039,7 @@ def bigaddrspacetest(f): ...@@ -1039,7 +1039,7 @@ def bigaddrspacetest(f):
"""Decorator for tests that fill the address space.""" """Decorator for tests that fill the address space."""
def wrapper(self): def wrapper(self):
if max_memuse < MAX_Py_ssize_t: 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( raise unittest.SkipTest(
"not enough memory: try a 32-bit build instead") "not enough memory: try a 32-bit build instead")
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment