summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-12 21:40:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-12 21:40:20 (GMT)
commit9dd117130554d73f9944d398c63aeddbe64418e8 (patch)
treeb71f78c4ede4a4c57b98dcd800f04ac1234527e5
parentaca5fa7010c28fb009976f7a721bf691ea26bca5 (diff)
downloadcpython-9dd117130554d73f9944d398c63aeddbe64418e8.zip
cpython-9dd117130554d73f9944d398c63aeddbe64418e8.tar.gz
cpython-9dd117130554d73f9944d398c63aeddbe64418e8.tar.bz2
Fix @bigmemtest when no limit is given by the user (oops)
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 60c891a..2062dd5 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -1001,7 +1001,7 @@ def bigmemtest(minsize, memuse):
# 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: