dev-python/pytest-mock: Run tests verbosely
authorMichał Górny <mgorny@gentoo.org>
Sat, 21 Jul 2018 10:00:20 +0000 (12:00 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 21 Jul 2018 10:14:31 +0000 (12:14 +0200)
dev-python/pytest-mock/pytest-mock-1.6.3.ebuild

index 958c9a4a9d01ba59e4fc4f40b2cbd18edb92339c..e88ebaa58a88e44f6945a0bc0036ec967025c62c 100644 (file)
@@ -30,6 +30,6 @@ src_prepare() {
 }
 
 python_test() {
-       PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
-               py.test test_pytest_mock.py || die
+       local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH}
+       py.test -vv test_pytest_mock.py || die "Tests fail with ${EPYTHON}"
 }