summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r--tests/test_oddball.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index b7307887..da0531f1 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -186,7 +186,7 @@ class MemoryLeakTest(CoverageTest):
fails += 1 # pragma: only failure
if fails > 8:
- self.fail("RAM grew by %d" % (ram_growth)) # pragma: only failure
+ pytest.fail("RAM grew by %d" % (ram_growth)) # pragma: only failure
class MemoryFumblingTest(CoverageTest):