summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-02-18 12:38:55 -0500
committerMike Gilbert <floppym@gentoo.org>2017-02-18 12:40:49 -0500
commit54ee58613d5d4f744f062fed0fcf5e0ff8862604 (patch)
tree67403c6d8c47e0d7327058ea68222fbb96925ff9 /dev-python/pytest-xdist
parentsys-kernel/gentoo-sources: Linux kernel 4.4.50 (diff)
downloadgentoo-54ee58613d5d4f744f062fed0fcf5e0ff8862604.tar.gz
gentoo-54ee58613d5d4f744f062fed0fcf5e0ff8862604.tar.bz2
gentoo-54ee58613d5d4f744f062fed0fcf5e0ff8862604.zip
dev-python/pytest-xdist: install package for testing
pytest doesn't load the xdist plugin unless xdist has already been installed. Bug: https://bugs.gentoo.org/597698 Bug: https://bugs.gentoo.org/597700 Bug: https://bugs.gentoo.org/609516 Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49
Diffstat (limited to 'dev-python/pytest-xdist')
-rw-r--r--dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild
index 27b6a3d48e5..27409543e60 100644
--- a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild
+++ b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild
@@ -37,6 +37,6 @@ PATCHES=(
)
python_test() {
- find -name __pycache__ -exec rm -r '{}' + || die
+ distutils_install_for_testing
py.test -vv || die "Tests failed under ${EPYTHON}"
}