[Python-checkins] r87974 - python/branches/py3k/Lib/test/support.py
antoine.pitrou
python-checkins at python.org
Wed Jan 12 22:58:39 CET 2011
Author: antoine.pitrou
Date: Wed Jan 12 22:58:39 2011
New Revision: 87974
Log:
A better message again
Modified:
python/branches/py3k/Lib/test/support.py
Modified: python/branches/py3k/Lib/test/support.py
==============================================================================
--- python/branches/py3k/Lib/test/support.py (original)
+++ python/branches/py3k/Lib/test/support.py Wed Jan 12 22:58:39 2011
@@ -1039,7 +1039,7 @@
"""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:
More information about the Python-checkins
mailing list