commit | 46d4440cad8b5b0ef14d669f20530fdc4e56757e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Jul 01 00:45:43 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Jul 01 00:45:43 2009 +0000 |
tree | 1a0b40f1fb194fede705a4143d006afbf2fcdc20 | |
parent | 77108eb4bf93972c7214729fd8dfce7784308c89 [diff] [blame] |
remove use of failIf
diff --git a/Lib/test/support.py b/Lib/test/support.py index 38ea107..f24adc8 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py
@@ -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: