diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 20:52:56 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 20:52:56 -0500 |
| commit | 54ce0a8b8f7ddd7a7fb2fc2417c51f6490ce7ac9 (patch) | |
| tree | 3c2583ab9efe07ed99b0f3c63108c993f6f952c4 /tests/coveragetest.py | |
| parent | 55c48a3e041183e867a46fca51cbd6b1a5140223 (diff) | |
| download | python-coveragepy-git-54ce0a8b8f7ddd7a7fb2fc2417c51f6490ce7ac9.tar.gz | |
Forgot a bunch of jython coverage pragmas
Diffstat (limited to 'tests/coveragetest.py')
| -rw-r--r-- | tests/coveragetest.py | 4 |
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') |
