Kaydet (Commit) 46d4440c authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove use of failIf

üst 77108eb4
...@@ -735,7 +735,7 @@ def bigmemtest(minsize, memuse, overhead=5*_1M): ...@@ -735,7 +735,7 @@ def bigmemtest(minsize, memuse, overhead=5*_1M):
# to make sure they work. We still want to avoid using # to make sure they work. We still want to avoid using
# too much memory, though, but we do that noisily. # too much memory, though, but we do that noisily.
maxsize = 5147 maxsize = 5147
self.failIf(maxsize * memuse + overhead > 20 * _1M) self.assertFalse(maxsize * memuse + overhead > 20 * _1M)
else: else:
maxsize = int((max_memuse - overhead) / memuse) maxsize = int((max_memuse - overhead) / memuse)
if maxsize < minsize: if maxsize < minsize:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment