diff options
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r-- | tests/test_oddball.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py index 7fc122af..e1099e62 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -176,10 +176,10 @@ class MemoryLeakTest(CoverageTest): # Running the code 10k times shouldn't grow the ram much more than # running it 10 times. ram_growth = (ram_10k - ram_10) - (ram_10 - ram_0) - if ram_growth > 100000: # pragma: only failure + if ram_growth > 100000: # pragma: if failure fails += 1 - if fails > 8: # pragma: only failure + if fails > 8: # pragma: if failure self.fail("RAM grew by %d" % (ram_growth)) |