From: Benjamin Peterson Date: Wed, 1 Jul 2009 00:45:43 +0000 (+0000) Subject: remove use of failIf X-Git-Tag: v3.2a1~2925 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46d4440cad8b5b0ef14d669f20530fdc4e56757e;p=thirdparty%2FPython%2Fcpython.git remove use of failIf --- diff --git a/Lib/test/support.py b/Lib/test/support.py index 38ea107183ca..f24adc8816a8 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -735,7 +735,7 @@ def bigmemtest(minsize, memuse, overhead=5*_1M): # to make sure they work. We still want to avoid using # too much memory, though, but we do that noisily. maxsize = 5147 - self.failIf(maxsize * memuse + overhead > 20 * _1M) + self.assertFalse(maxsize * memuse + overhead > 20 * _1M) else: maxsize = int((max_memuse - overhead) / memuse) if maxsize < minsize: