summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-30 10:52:18 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-30 10:52:18 -0400
commit35312580d714c17ee486d2d9626a314dc5bfc8af (patch)
treebc23cafe8e628a5f50eeb8468b1ea5f1f5038a51 /tests/test_oddball.py
parent848e8cbb2ea046680d6a539d8a7b6a7e214cf8a9 (diff)
downloadpython-coveragepy-35312580d714c17ee486d2d9626a314dc5bfc8af.tar.gz
Pragmas for metacoverage
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 933551a..2ca1aa7 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -176,7 +176,7 @@ 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:
+ if ram_growth > 100000: # pragma: only failure
fails += 1
if fails > 8: # pragma: only failure