[Python-checkins] r87972 - python/branches/py3k/Lib/test/support.py
antoine.pitrou
python-checkins at python.org
Wed Jan 12 22:40:21 CET 2011
Author: antoine.pitrou
Date: Wed Jan 12 22:40:20 2011
New Revision: 87972
Log:
Fix @bigmemtest when no limit is given by the user (oops)
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:40:20 2011
@@ -1001,7 +1001,7 @@
# to make sure they work. We still want to avoid using
# too much memory, though, but we do that noisily.
maxsize = 5147
- self.assertFalse(maxsize * memuse + overhead > 20 * _1M)
+ self.assertFalse(maxsize * memuse > 20 * _1M)
else:
maxsize = int(max_memuse / memuse)
if maxsize < minsize:
More information about the Python-checkins
mailing list