commit: 0126aac12a1090b62532a2bd987b85e9bc2c884f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Apr 19 14:54:16 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Apr 19 14:56:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0126aac1
dev-python/pytest-cov: Add PYTHONUSERBASE to fix one more test Thanks to Gonzalo Tornaría for the suggestion: https://github.com/pytest-dev/pytest-cov/issues/517#issuecomment-2816179307 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pytest-cov/pytest-cov-6.1.1.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/pytest-cov/pytest-cov-6.1.1.ebuild b/dev-python/pytest-cov/pytest-cov-6.1.1.ebuild index 1c7751e80607..00ad60b46162 100644 --- a/dev-python/pytest-cov/pytest-cov-6.1.1.ebuild +++ b/dev-python/pytest-cov/pytest-cov-6.1.1.ebuild @@ -45,12 +45,7 @@ python_test() { # https://github.com/pytest-dev/pytest-cov/issues/517 local -x PYTHONPATH=$(python_get_sitedir):${PYTHONPATH} - local EPYTEST_DESELECT=( - # this one's broken by the PYTHONPATH hack - # the alternative is to symlink coverage and pytest into venv, - # but that's ugly and likely to break again in the future - tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath - ) + local -x PYTHONUSERBASE=/usr epytest }
