commit:     8348da3d66574b06ca409b81b3ec26423d27eb04
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 05:08:20 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 05:10:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8348da3d

dev-python/pytest-cov: Enable xdist

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index e6f8aca4af0d..5eb2730fc4ca 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
-inherit distutils-r1 pypi
+inherit distutils-r1 multiprocessing pypi
 
 DESCRIPTION="pytest plugin for coverage reporting"
 HOMEPAGE="
@@ -66,5 +66,5 @@ python_test() {
                tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
        )
 
-       epytest
+       epytest -n "$(makeopts_jobs)" --dist=worksteal
 }

Reply via email to