summaryrefslogtreecommitdiff
path: root/tests/test_execfile.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-19 19:00:26 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-19 19:00:26 -0500
commit644ac5a7deb3933224a5ff6863e5b3d98362c2a8 (patch)
tree8460a97e584ed57c1926ce73dcc390984e1c6429 /tests/test_execfile.py
parentdb7825a33067e5c0873250488ba0543968765abb (diff)
downloadpython-coveragepy-git-644ac5a7deb3933224a5ff6863e5b3d98362c2a8.tar.gz
refactor(test): use xfail for tests that fail on specific versions of Python
Diffstat (limited to 'tests/test_execfile.py')
-rw-r--r--tests/test_execfile.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index 6d316700..83db5273 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -149,9 +149,6 @@ class RunFileTest(CoverageTest):
assert self.stdout() == "about to exit..\n"
assert self.stderr() == ""
- @pytest.mark.skipif(not env.CPYTHON,
- reason="non-CPython handles excepthook exits differently, punt for now."
- )
def test_excepthook_exit(self):
self.make_file("excepthook_exit.py", """\
import sys
@@ -169,7 +166,6 @@ class RunFileTest(CoverageTest):
cov_out = self.stdout()
assert cov_out == "in excepthook\n"
- @pytest.mark.skipif(env.PYPY, reason="PyPy handles excepthook throws differently.")
def test_excepthook_throw(self):
self.make_file("excepthook_throw.py", """\
import sys