--- pytest_cov-6.2.1/tests/test_pytest_cov.py.orig +++ pytest_cov-6.2.1/tests/test_pytest_cov.py @@ -917,6 +917,7 @@ assert result.ret == 0 +@pytest.mark.skip(reason="mangles PYTHONPATH and so it is not able to find pytest-cov in proto area") def test_central_subprocess_change_cwd_with_pythonpath(pytester, testdir, monkeypatch): stuff = testdir.mkdir('stuff') parent_script = stuff.join('parent_script.py') --- pytest_cov-6.2.1/tox.ini.orig +++ pytest_cov-6.2.1/tox.ini @@ -32,7 +32,6 @@ {bootstrap,clean,check,report,docs}: {env:TOXPYTHON:python3} extras = testing setenv = - PYTHONPATH={toxinidir}/tests PYTHONUNBUFFERED=yes # Use env vars for (optional) pinning of deps.