commit:     54ee58613d5d4f744f062fed0fcf5e0ff8862604
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 17:38:55 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 17:40:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54ee5861

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

 dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 27b6a3d48e..27409543e6 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}"
 }

Reply via email to