cbc69b9ce4
Also: - Drop upstreamed patches: subexpr-lambdify, test-code-quality, tex-encoding. - Drop the python2 subpackage. - Add -python3 patch to ask cython to generate python 3 code.
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
--- sympy-sympy-1.3/sympy/core/tests/test_sympify.py.orig 2018-09-14 12:51:02.000000000 -0600
|
|
+++ sympy-sympy-1.3/sympy/core/tests/test_sympify.py 2018-10-07 09:57:01.908641658 -0600
|
|
@@ -590,8 +590,6 @@ def test_sympify_numpy():
|
|
assert equal(sympify(np.float32(1.123456)), Float(1.123456, precision=24))
|
|
assert equal(sympify(np.float64(1.1234567891234)),
|
|
Float(1.1234567891234, precision=53))
|
|
- assert equal(sympify(np.longdouble(1.123456789)),
|
|
- Float(1.123456789, precision=80))
|
|
assert equal(sympify(np.complex64(1 + 2j)), S(1.0 + 2.0*I))
|
|
assert equal(sympify(np.complex128(1 + 2j)), S(1.0 + 2.0*I))
|
|
assert equal(sympify(np.longcomplex(1 + 2j)), S(1.0 + 2.0*I))
|
|
@@ -602,12 +600,6 @@ def test_sympify_numpy():
|
|
except AttributeError: #float96 does not exist on all platforms
|
|
pass
|
|
|
|
- try:
|
|
- assert equal(sympify(np.float128(1.123456789123)),
|
|
- Float(1.123456789123, precision=80))
|
|
- except AttributeError: #float128 does not exist on all platforms
|
|
- pass
|
|
-
|
|
|
|
@XFAIL
|
|
def test_sympify_rational_numbers_set():
|