diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-06 21:55:29 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-06 21:57:26 -0500 |
commit | 2af7e87b26754fea68adfd1b8aa51052d987e60c (patch) | |
tree | 3d81d1e79bebd529240629b9cd43c4f0e273046b /tests/coveragetest.py | |
parent | e59da1bafafe4265188bb5c75c4e557dfbd47d90 (diff) | |
download | python-coveragepy-git-nedbat/better-combine-action.tar.gz |
refactor: convert all skipping to pytest skipsnedbat/better-combine-action
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. |