diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-07 17:51:38 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 06:38:42 -0500 |
commit | b9f4c86917422de3fe6ecd2976d7213897c93bb2 (patch) | |
tree | c8da98046baddd68bcde6a0834f861e071a69a49 /tests/test_oddball.py | |
parent | af234f4a2a08dc1616c2270df6349925221c81e8 (diff) | |
download | python-coveragepy-git-b9f4c86917422de3fe6ecd2976d7213897c93bb2.tar.gz |
test: reduce use of unittest
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r-- | tests/test_oddball.py | 2 |
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): |