commit:     bb9e707ad097ea4f24ffa3008bd452c8d5c38d07
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  7 07:52:16 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  7 07:52:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9e707a

dev-python/matplotlib: Fix returning test failures

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

 dev-python/matplotlib/matplotlib-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/matplotlib/matplotlib-3.2.1.ebuild 
b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
index 50d6eee36e3..ac48950448a 100644
--- a/dev-python/matplotlib/matplotlib-3.2.1.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
@@ -216,7 +216,7 @@ python_test() {
        wrap_setup distutils_install_for_testing
 
        distutils_install_for_testing
-       "${EPYTHON}" -c "import sys, matplotlib as m; sys.exit(0 if 
m.test(verbosity=2) else 1)" || die
+       "${EPYTHON}" -c "import sys, matplotlib as m; 
sys.exit(m.test(verbosity=2))" || die
 }
 
 python_install() {

Reply via email to