Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46d4440

Browse files
committed
remove use of failIf
1 parent 77108eb commit 46d4440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def wrapper(self):
735735
# to make sure they work. We still want to avoid using
736736
# too much memory, though, but we do that noisily.
737737
maxsize = 5147
738-
self.failIf(maxsize * memuse + overhead > 20 * _1M)
738+
self.assertFalse(maxsize * memuse + overhead > 20 * _1M)
739739
else:
740740
maxsize = int((max_memuse - overhead) / memuse)
741741
if maxsize < minsize:

0 commit comments

Comments
 (0)