From 9dd117130554d73f9944d398c63aeddbe64418e8 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 12 Jan 2011 21:40:20 +0000 Subject: [PATCH] Fix @bigmemtest when no limit is given by the user (oops) --- Lib/test/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/support.py b/Lib/test/support.py index 60c891ac2ef8..2062dd5cbadc 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1001,7 +1001,7 @@ def wrapper(self): # 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: