summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild
index de9789a944b..27e096bc991 100644
--- a/dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild
+++ b/dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild
@@ -32,6 +32,10 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
- distutils_install_for_testing
- pytest -vv testing || die "Tests failed under ${EPYTHON}"
+ distutils_install_for_testing --via-root
+ # Skip a broken test
+ # https://github.com/pytest-dev/pytest-xdist/issues/601
+ pytest -vv testing --deselect \
+ testing/acceptance_test.py::TestWarnings::test_warning_captured_deprecated_in_pytest_6 \
+ || die "Tests failed under ${EPYTHON}"
}