Hello.
Would it be acceptable to skip the failing test on the affected architecture,
as in the attached patch?
(warning: It's *completely* untested, and it only tries to address
the failure on ppc64el, the one in armel is different)
Thanks.
Description: Skip failing test on ppc64el
Author: Santiago Vila <sanv...@debian.org>
Bug-Debian: https://bugs.debian.org/1098246
--- sympy-1.13.3.orig/sympy/core/tests/test_numbers.py
+++ sympy-1.13.3/sympy/core/tests/test_numbers.py
@@ -1,5 +1,6 @@
import numbers as nums
import decimal
+import platform
from sympy.concrete.summations import Sum
from sympy.core import (EulerGamma, Catalan, TribonacciConstant,
GoldenRatio)
@@ -2152,6 +2153,10 @@ def test_Integer_precision():
assert sympify(srepr(Float('1.0', precision=15))) == Float('1.0', precision=15)
+@pytest.mark.skipif(
+ platform.machine() == 'ppc64le',
+ reason="Test skipped on ppc64el due to precision issues with np.longdouble"
+)
def test_numpy_to_float():
from sympy.testing.pytest import skip
from sympy.external import import_module