summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytest-mock/pytest-mock-1.6.3.ebuild')
-rw-r--r--dev-python/pytest-mock/pytest-mock-1.6.3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index 958c9a4a9d01..e88ebaa58a88 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -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}"
}