From: Justin Lecher Date: Fri, 4 Dec 2015 06:58:06 +0000 (+0100) Subject: dev-python/astroid: Update tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5a8104ed202a849a680b9b9cf22ad0fdc4f64c25;p=gentoo.git dev-python/astroid: Update tests Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher --- diff --git a/dev-python/astroid/astroid-1.4.1.ebuild b/dev-python/astroid/astroid-1.4.1.ebuild index 489fcb92ba22..3ea11164c7a3 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 }