aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-15 13:16:53 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-15 13:16:53 +0200
commit9cae3e60b33d7afa6c79f40b091fc06f7626b253 (patch)
treea1ded12dd9f215c14828d4ef824fd5d59ef1965d /dev-python
parentdev-python/sphinxcontrib-trio: add py3_9 (diff)
downloadguru-9cae3e60b33d7afa6c79f40b091fc06f7626b253.tar.gz
guru-9cae3e60b33d7afa6c79f40b091fc06f7626b253.tar.bz2
guru-9cae3e60b33d7afa6c79f40b091fc06f7626b253.zip
dev-python/trio: fix test
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/trio/trio-0.16.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/trio/trio-0.16.0.ebuild b/dev-python/trio/trio-0.16.0.ebuild
index 5d90aeca..f3ca2d49 100644
--- a/dev-python/trio/trio-0.16.0.ebuild
+++ b/dev-python/trio/trio-0.16.0.ebuild
@@ -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}"
+}