commit:     a6303c9426a1ea3745b0e059b5d1f0a0703899ce
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 17:40:21 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 17:41:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6303c94

dev-python/pytest-xprocess: fix broken tests

Closes: https://bugs.gentoo.org/664542
Package-Manager: Portage-2.3.47, Repoman-2.3.10

 dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild 
b/dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild
index 8677f37ccd2..b749a2cba7d 100644
--- a/dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild
+++ b/dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild
@@ -24,9 +24,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 python_test() {
-       cd example || die
        # Upstream's package mistakenly includes __pycache__ directory that make
        # tests fail.
-       rm -rf __pycache__ || die
+       rm -rf example/__pycache__ || die
        pytest -v || die
 }

Reply via email to