diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-30 18:07:36 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-30 18:35:09 -0500 |
commit | 45787e29dea3a41f2e9570b66a571a7ebcda4592 (patch) | |
tree | 7eeadde7d7a033e27abd1df7411bb525bd711148 /tests/conftest.py | |
parent | 85c7a4ac4161c4eb2efeaf07e6f833d3a073b018 (diff) | |
download | python-coveragepy-git-45787e29dea3a41f2e9570b66a571a7ebcda4592.tar.gz |
refactor: removed mentions of Jython and IronPython
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 600ada44..d45cae1d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -16,7 +16,6 @@ from pathlib import Path import pytest from coverage import env -from coverage.exceptions import _StopEverything from coverage.files import set_relative_directory # Pytest will rewrite assertions in test modules, but not elsewhere. @@ -106,14 +105,6 @@ def pytest_sessionfinish(): if pth_file.exists(): pth_file.unlink() -@pytest.hookimpl(hookwrapper=True) -def pytest_runtest_call(item): - """Run once for each test.""" - # Convert _StopEverything into skipped tests. - outcome = yield - if outcome.excinfo and issubclass(outcome.excinfo[0], _StopEverything): # pragma: only jython - pytest.skip(f"Skipping {item.nodeid} for _StopEverything: {outcome.excinfo[1]}") - def possible_pth_dirs(): """Produce a sequence of directories for trying to write .pth files.""" |