dev-python/astroid: Update tests
authorJustin Lecher <jlec@gentoo.org>
Fri, 4 Dec 2015 06:58:06 +0000 (07:58 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 4 Dec 2015 06:58:22 +0000 (07:58 +0100)
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/astroid/astroid-1.4.1.ebuild

index 489fcb92ba22a01f442013282b18dc310daf17ff..3ea11164c7a3c0e630247ad084b700b7dc62c723 100644 (file)
@@ -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
 }