dev-python/pytest-xprocess: fix broken tests

Closes: https://bugs.gentoo.org/664542
Package-Manager: Portage-2.3.47, Repoman-2.3.10
This commit is contained in:
Virgil Dupras
2018-08-25 13:40:21 -04:00
parent d8e87b11e4
commit a6303c9426

View File

@@ -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
}