dev-python/hpack: Simplify test phase
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 Jul 2018 22:38:21 +0000 (00:38 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 Jul 2018 22:44:42 +0000 (00:44 +0200)
dev-python/hpack/hpack-3.0.0.ebuild

index 44e8da1d9ac2c4476e36eec0620d7ea345354071..caefcf33a67c09c78b310fdde074088f9cd37a25 100644 (file)
@@ -34,7 +34,5 @@ python_prepare_all() {
 }
 
 python_test() {
-       PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \
-               py.test -v hpack test/|| die
-       cd test
+       py.test -vv hpack test || die "Tests fail with ${EPYTHON}"
 }