summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-14 20:52:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-14 20:52:56 -0500
commit54ce0a8b8f7ddd7a7fb2fc2417c51f6490ce7ac9 (patch)
tree3c2583ab9efe07ed99b0f3c63108c993f6f952c4 /tests/coveragetest.py
parent55c48a3e041183e867a46fca51cbd6b1a5140223 (diff)
downloadpython-coveragepy-git-54ce0a8b8f7ddd7a7fb2fc2417c51f6490ce7ac9.tar.gz
Forgot a bunch of jython coverage pragmas
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r--tests/coveragetest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index d13f2bbb..f71fcb67 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -391,7 +391,7 @@ class CoverageTest(
command_words = [os.path.basename(sys.executable)]
elif command_name == "coverage":
- if env.JYTHON:
+ if env.JYTHON: # pragma: only jython
# Jython can't do reporting, so let's skip the test now.
if command_args and command_args[0] in ('report', 'html', 'xml', 'annotate'):
self.skipTest("Can't run reporting commands in Jython")
@@ -413,7 +413,7 @@ class CoverageTest(
# much path munging here, but...
pythonpath_name = "PYTHONPATH"
if env.JYTHON:
- pythonpath_name = "JYTHONPATH"
+ pythonpath_name = "JYTHONPATH" # pragma: only jython
testmods = self.nice_file(self.working_root(), 'tests/modules')
zipfile = self.nice_file(self.working_root(), 'tests/zipmods.zip')