commit:     98cf34f06f6082f3742f933c0618ca170fb8205c
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 10 20:21:38 2020 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Wed Jun 10 23:33:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cf34f0

dev-python/mypy_extensions: fixed failing test phase

Closes: https://bugs.gentoo.org/723546

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org>

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

diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild 
b/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild
index 61bac404128..0536aa7c3de 100644
--- a/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild
+++ b/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild
@@ -40,9 +40,7 @@ python_compile_all() {
 }
 
 python_test() {
-       local PYTHONPATH="$(pwd)"
-
-       "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
+       "${PYTHON}" -m unittest discover tests -v || die "tests fail with 
${EPYTHON}"
 }
 
 python_install_all() {

Reply via email to