commit:     a3efeba3aaa69b99061bae7ddfac5abbca2cb78b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 22:49:55 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 11:46:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3efeba3

distutils-r1.eclass: Also run nosetests via EPYTHON

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index d7cea6a512f6..a9c86ef55124 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1068,7 +1068,7 @@ distutils-r1_python_test() {
 
        case ${_DISTUTILS_TEST_RUNNER} in
                nose)
-                       nosetests -v "${@}"
+                       "${EPYTHON}" -m nose -v "${@}"
                        ;;
                pytest)
                        epytest

Reply via email to