Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98c62bd

Browse files
committed
A better message again
1 parent e0d3f8a commit 98c62bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ def bigaddrspacetest(f):
10391039
"""Decorator for tests that fill the address space."""
10401040
def wrapper(self):
10411041
if max_memuse < MAX_Py_ssize_t:
1042-
if MAX_Py_ssize_t > 2**32:
1042+
if MAX_Py_ssize_t >= 2**63 - 1 and max_memuse >= 2**31:
10431043
raise unittest.SkipTest(
10441044
"not enough memory: try a 32-bit build instead")
10451045
else:

0 commit comments

Comments
 (0)