diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-07-05 12:43:18 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-07-05 13:05:22 +0200 |
| commit | a1dd466b93291a3cb40d06878aca0b2407f2fbf7 (patch) | |
| tree | f3d617dd49212a33db8b46cc7794364fb271deb1 /dev-python | |
| parent | 6c802a5efc60586744ba820d78ea0fb48ccc2d58 (diff) | |
| download | gentoo-a1dd466b93291a3cb40d06878aca0b2407f2fbf7.tar.gz gentoo-a1dd466b93291a3cb40d06878aca0b2407f2fbf7.tar.bz2 gentoo-a1dd466b93291a3cb40d06878aca0b2407f2fbf7.zip | |
dev-python/wheel: Use pytest-xdist for testing
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/wheel/wheel-0.45.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/wheel/wheel-0.45.1.ebuild b/dev-python/wheel/wheel-0.45.1.ebuild index 7fa0a7ca64be..85ebbcc34385 100644 --- a/dev-python/wheel/wheel-0.45.1.ebuild +++ b/dev-python/wheel/wheel-0.45.1.ebuild @@ -28,6 +28,9 @@ BDEPEND=" ) " +# xdist is slightly flaky here +EPYTEST_PLUGINS=( pytest-rerunfailures ) +EPYTEST_XDIST=1 distutils_enable_tests pytest src_prepare() { @@ -57,6 +60,5 @@ python_test() { tests/test_bdist_wheel.py::test_licenses_override ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest + epytest --reruns=5 } |
