1 |
commit: 5a8104ed202a849a680b9b9cf22ad0fdc4f64c25 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 4 06:58:06 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 4 06:58:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8104ed |
7 |
|
8 |
dev-python/astroid: Update tests |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/astroid/astroid-1.4.1.ebuild | 4 +--- |
14 |
1 file changed, 1 insertion(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/astroid/astroid-1.4.1.ebuild b/dev-python/astroid/astroid-1.4.1.ebuild |
17 |
index 489fcb9..3ea1116 100644 |
18 |
--- a/dev-python/astroid/astroid-1.4.1.ebuild |
19 |
+++ b/dev-python/astroid/astroid-1.4.1.ebuild |
20 |
@@ -38,7 +38,5 @@ DEPEND=" |
21 |
DISTUTILS_IN_SOURCE_BUILD=1 |
22 |
|
23 |
python_test() { |
24 |
- pushd build/lib > /dev/null || die |
25 |
- PYTHONPATH=. pytest --verbose || die "Tests fail with ${EPYTHON}" |
26 |
- popd > /dev/null || die |
27 |
+ ${EPYTHON} -m unittest discover -p "unittest*.py" --verbose || die |
28 |
} |