Disable 80-bit long double test on non-i686 arches.

This commit is contained in:
Jerry James 2018-02-19 09:05:22 -07:00
parent 46118a3192
commit e942db7410

View File

@ -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