diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-06 21:55:29 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-07 17:24:44 -0500 |
commit | c0921466d3d235f10be333da1f9cf523f4e2e24c (patch) | |
tree | 5e67f7e62db1048229a54e308885b935616b6e5a /tests/test_execfile.py | |
parent | 465dace54a3f3300c0a86b527a8f77d0475fc895 (diff) | |
download | python-coveragepy-git-c0921466d3d235f10be333da1f9cf523f4e2e24c.tar.gz |
refactor: convert all skipping to pytest skips
Diffstat (limited to 'tests/test_execfile.py')
-rw-r--r-- | tests/test_execfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_execfile.py b/tests/test_execfile.py index d221f2d3..3cdd1ed9 100644 --- a/tests/test_execfile.py +++ b/tests/test_execfile.py @@ -110,7 +110,7 @@ class RunPycFileTest(CoverageTest): def make_pyc(self): # pylint: disable=inconsistent-return-statements """Create a .pyc file, and return the path to it.""" if env.JYTHON: - self.skipTest("Can't make .pyc files on Jython") + pytest.skip("Can't make .pyc files on Jython") self.make_file("compiled.py", """\ def doit(): |