dev-python/trio: fix test

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-06-15 13:16:53 +02:00
parent 843b3ceed2
commit 9cae3e60b3

View File

@@ -61,3 +61,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
python_test() {
# tests fail if package is already installed without this
PYTHONPATH="${S}"
cd "${S}" || die
pytest -vv || die "Tests fail with ${EPYTHON}"
}