summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-06 21:55:29 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-06 21:57:26 -0500
commit2af7e87b26754fea68adfd1b8aa51052d987e60c (patch)
tree3d81d1e79bebd529240629b9cd43c4f0e273046b /tests/coveragetest.py
parente59da1bafafe4265188bb5c75c4e557dfbd47d90 (diff)
downloadpython-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.py2
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.