Commit 9dd11713 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix @bigmemtest when no limit is given by the user (oops)

parent aca5fa70
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment