diff --git a/testing/test_runner.py b/testing/test_runner.py index 296a97fd319..3e2f2bea614 100644 --- a/testing/test_runner.py +++ b/testing/test_runner.py @@ -423,28 +423,6 @@ def test_func(): assert False, "did not raise" -@pytest.mark.xdist_specific -class TestExecutionForked(BaseFunctionalTests): - pytestmark = pytest.mark.skipif("not hasattr(os, 'fork')") - - def getrunner(self): - # XXX re-arrange this test to live in pytest-xdist - boxed = pytest.importorskip("xdist.boxed") - return boxed.forked_run_report - - def test_suicide(self, testdir) -> None: - reports = testdir.runitem( - """ - def test_func(): - import os - os.kill(os.getpid(), 15) - """ - ) - rep = reports[0] - assert rep.failed - assert rep.when == "???" - - class TestSessionReports: def test_collect_result(self, testdir) -> None: col = testdir.getmodulecol(