diff Lib/test/support.py @ 55010:f2b65bd67df2

remove use of failIf
author Benjamin Peterson <benjamin@python.org>
date Wed, 01 Jul 2009 00:45:43 +0000
parents 8f23bd1092fc
children 1c57debf97bc
line wrap: on
line diff
--- a/Lib/test/support.py	Wed Jul 01 00:43:10 2009 +0000
+++ b/Lib/test/support.py	Wed Jul 01 00:45:43 2009 +0000
@@ -735,7 +735,7 @@
                 # 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: