From e942db741009ebea0cf9b5d500950e80600581b0 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 19 Feb 2018 09:05:22 -0700 Subject: [PATCH] Disable 80-bit long double test on non-i686 arches. --- sympy.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sympy.spec b/sympy.spec index 233c124..751e5d2 100644 --- a/sympy.spec +++ b/sympy.spec @@ -109,6 +109,12 @@ if [ "%{maxpyint}" = "7fffffff" ]; then %{sympydir}/sympy/polys/tests/test_rootoftools.py fi +# If not running on x86 with a floating point coprocessor, disable a test that +# requires 80-bit long doubles. +%ifnarch i686 +sed -i '585,586d' %{sympydir}/sympy/core/tests/test_sympify.py +%endif + # Allow building with a numpy that has a release candidate version number sed -i 's/StrictVersion/LooseVersion/g' %{sympydir}/sympy/external/importtools.py