commit: 34396b1ad6869575590491764fa764785b05ff44
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 21:29:11 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 16 21:39:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34396b1a
dev-python/pylint: Fix running *all* tests
dev-python/pylint/pylint-1.7.1-r1.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-python/pylint/pylint-1.7.1-r1.ebuild
b/dev-python/pylint/pylint-1.7.1-r1.ebuild
index 61bf81a9262..a26d98dcba5 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() {