On 32-bit systems, disable a test that requires 64 bit integers.
This commit is contained in:
parent
9ce8568a49
commit
44f30c7747
@ -99,6 +99,12 @@ done
|
||||
# The classic sphinx theme is explicitly needed.
|
||||
sed -i "/html_style/ahtml_theme = 'classic'" %{sympydir}/doc/src/conf.py
|
||||
|
||||
# If running on a 32-bit system, disable a test that requires 64-bit integers.
|
||||
%global maxpyint %(python3 -c 'import sys;print("%x" % sys.maxsize'))
|
||||
if [ "%{maxpyint}" = "7fffffff" ]; then
|
||||
sed -i '/issue 6393/,/assert b == -d/d' sympy/polys/tests/test_rootoftools.py
|
||||
fi
|
||||
|
||||
# Make a copy for building the python3 version
|
||||
cp -a %{sympydir} python3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user