commit:     737f37f8bcdae73bc886bb839c2d3dbe84047950
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 21 10:00:20 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 21 10:14:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737f37f8

dev-python/pytest-mock: Run tests verbosely

 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 4 ++--
 1 file 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 958c9a4a9d0..e88ebaa58a8 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}"
 }

Reply via email to