summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-15 00:38:21 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-15 00:44:42 +0200
commit8dd339c957b1a97153aa41ac466ba31dd3d9dc3f (patch)
treec588d2ee5595ccd8535c6e6226fa563f2711fd71 /dev-python/hpack
parentdev-python/hpack: Remove unnecessary pytest-cov dep (diff)
downloadgentoo-8dd339c957b1a97153aa41ac466ba31dd3d9dc3f.tar.gz
gentoo-8dd339c957b1a97153aa41ac466ba31dd3d9dc3f.tar.bz2
gentoo-8dd339c957b1a97153aa41ac466ba31dd3d9dc3f.zip
dev-python/hpack: Simplify test phase
Diffstat (limited to 'dev-python/hpack')
-rw-r--r--dev-python/hpack/hpack-3.0.0.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/hpack/hpack-3.0.0.ebuild b/dev-python/hpack/hpack-3.0.0.ebuild
index 44e8da1d9ac2..caefcf33a67c 100644
--- a/dev-python/hpack/hpack-3.0.0.ebuild
+++ b/dev-python/hpack/hpack-3.0.0.ebuild
@@ -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}"
}