diff options
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 69dbb7cf..8e5f2b0a 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -389,7 +389,7 @@ class CoverageTest( 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") + pytest.skip("Can't run reporting commands in Jython") # Jython can't run "coverage" as a command because the shebang # refers to another shebang'd Python script. So run them as # modules. |