From 34396b1ad6869575590491764fa764785b05ff44 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 16 May 2017 23:29:11 +0200 Subject: dev-python/pylint: Fix running *all* tests --- dev-python/pylint/pylint-1.7.1-r1.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'dev-python/pylint') diff --git a/dev-python/pylint/pylint-1.7.1-r1.ebuild b/dev-python/pylint/pylint-1.7.1-r1.ebuild index 61bf81a92620..a26d98dcba57 100644 --- a/dev-python/pylint/pylint-1.7.1-r1.ebuild +++ b/dev-python/pylint/pylint-1.7.1-r1.ebuild @@ -31,7 +31,8 @@ RDEPEND=" dev-python/configparser[${PYTHON_USEDEP}]' -2)" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} )" + test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] )" python_compile_all() { # selection of straight html triggers a trivial annoying bug, we skirt it @@ -39,10 +40,7 @@ python_compile_all() { } python_test() { - ${EPYTHON} \ - -m unittest discover \ - -s pylint/test/ -p "*test_*".py \ - --verbose || die + py.test -v || die "Tests fail with ${EPYTHON}" } python_install_all() { -- cgit v1.2.3-65-gdbad