summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-04 07:58:06 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-04 07:58:22 +0100
commit5a8104ed202a849a680b9b9cf22ad0fdc4f64c25 (patch)
tree6adc80420e3484f88a43eb06d87ec92f57455e9e /dev-python/astroid
parentapp-arch/dpkg: Old. (diff)
downloadgentoo-5a8104ed202a849a680b9b9cf22ad0fdc4f64c25.tar.gz
gentoo-5a8104ed202a849a680b9b9cf22ad0fdc4f64c25.tar.bz2
gentoo-5a8104ed202a849a680b9b9cf22ad0fdc4f64c25.zip
dev-python/astroid: Update tests
Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/astroid')
-rw-r--r--dev-python/astroid/astroid-1.4.1.ebuild4
1 files changed, 1 insertions, 3 deletions
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
}