summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-21 12:00:20 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-21 12:14:31 +0200
commit737f37f8bcdae73bc886bb839c2d3dbe84047950 (patch)
tree918e8858fae103bb6aee4fbc851190757f2571c5 /dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
parentdev-python/pytest-mock: Use python_gen_cond_dep (diff)
downloadgentoo-737f37f8bcdae73bc886bb839c2d3dbe84047950.tar.gz
gentoo-737f37f8bcdae73bc886bb839c2d3dbe84047950.tar.bz2
gentoo-737f37f8bcdae73bc886bb839c2d3dbe84047950.zip
dev-python/pytest-mock: Run tests verbosely
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}"
}