mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
A better message again
This commit is contained in:
parent
e0d3f8a654
commit
98c62bd1c8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue