]> granicus.if.org Git - python/commitdiff
remove use of failIf
authorBenjamin Peterson <benjamin@python.org>
Wed, 1 Jul 2009 00:45:43 +0000 (00:45 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 1 Jul 2009 00:45:43 +0000 (00:45 +0000)
Lib/test/support.py

index 38ea107183ca8ac53521a61349f37366aaa04fed..f24adc8816a876c391332ed80723cf334cf2cecc 100644 (file)
@@ -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: