From: Santiago Vila Subject: Skip one more test on ppc64el Bug-Debian: https://bugs.debian.org/1020445 Forwarded: https://github.com/numba/numba/issues/8489 --- a/numba/tests/support.py +++ b/numba/tests/support.py @@ -204,6 +204,9 @@ skip_ppc64le_issue10504 = unittest.skipIf(platform.machine() == 'ppc64le', ("Hits: 'Python error: Illegal instruction'")) +skip_ppc64le_issue8489 = unittest.skipIf(platform.machine() == 'ppc64le', + ("Hits: 'ldexp returns inf on ppc64el'")) + # Typeguard has_typeguard = bool(os.environ.get('NUMBA_USE_TYPEGUARD', 0)) --- a/numba/tests/test_mathlib.py +++ b/numba/tests/test_mathlib.py @@ -7,7 +7,7 @@ import numpy as np from numba import njit, types -from numba.tests.support import TestCase +from numba.tests.support import TestCase, skip_ppc64le_issue8489 from numba.np import numpy_support from numba.core.utils import PYVERSION @@ -555,6 +555,7 @@ float('-inf'), float('inf'), float('nan')] self.run_unary(pyfunc, x_types, x_values, prec='exact') + @skip_ppc64le_issue8489 def test_ldexp(self): pyfunc = ldexp cfunc = njit(pyfunc)