summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-14 10:01:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-14 10:01:03 -0500
commite5c5b0eda9c000987ecafaa914ff1d0513b342ac (patch)
treedf1bf4876796c426515009d4d42287abcd70c2d8 /tests/test_oddball.py
parentc9aa6917e8ae67640f14dcd302b30d2cbe234fa8 (diff)
downloadpython-coveragepy-git-e5c5b0eda9c000987ecafaa914ff1d0513b342ac.tar.gz
Reporting doesn't work on Jython, so don't run reporting tests there.
--HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r--tests/test_oddball.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index da6c8fbb..98eee1bc 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -144,6 +144,9 @@ class MemoryLeakTest(CoverageTest):
"""
def test_for_leaks(self):
+ if env.JYTHON:
+ self.skipTest("Don't bother on Jython") # pragma: only jython
+
# Our original bad memory leak only happened on line numbers > 255, so
# make a code object with more lines than that. Ugly string mumbo
# jumbo to get 300 blank lines at the beginning..