[Python-checkins] r73723 - python/branches/py3k/Lib/test/support.py

benjamin.peterson python-checkins at python.org
Wed Jul 1 02:45:43 CEST 2009


Author: benjamin.peterson
Date: Wed Jul 1 02:45:43 2009
New Revision: 73723
Log:
remove use of failIf
Modified:
 python/branches/py3k/Lib/test/support.py
Modified: python/branches/py3k/Lib/test/support.py
==============================================================================
--- python/branches/py3k/Lib/test/support.py	(original)
+++ python/branches/py3k/Lib/test/support.py	Wed Jul 1 02:45:43 2009
@@ -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:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /