commit:     5a8104ed202a849a680b9b9cf22ad0fdc4f64c25
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 06:58:06 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 06:58:22 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8104ed

dev-python/astroid: Update tests

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/astroid/astroid-1.4.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/astroid/astroid-1.4.1.ebuild 
b/dev-python/astroid/astroid-1.4.1.ebuild
index 489fcb9..3ea1116 100644
--- a/dev-python/astroid/astroid-1.4.1.ebuild
+++ b/dev-python/astroid/astroid-1.4.1.ebuild
@@ -38,7 +38,5 @@ DEPEND="
 DISTUTILS_IN_SOURCE_BUILD=1
 
 python_test() {
-       pushd build/lib > /dev/null || die
-       PYTHONPATH=. pytest --verbose || die "Tests fail with ${EPYTHON}"
-       popd > /dev/null || die
+       ${EPYTHON} -m unittest discover -p "unittest*.py" --verbose || die
 }

Reply via email to