38 lines
1.7 KiB
Diff
38 lines
1.7 KiB
Diff
--- sympy-sympy-1.1/sympy/core/tests/test_sympify.py.orig 2017-07-05 17:13:24.000000000 -0600
|
|
+++ sympy-sympy-1.1/sympy/core/tests/test_sympify.py 2017-07-08 19:32:15.297900401 -0600
|
|
@@ -560,11 +560,7 @@ def test_numpy():
|
|
skip('numpy not installed.Abort numpy tests.')
|
|
|
|
assert sympify(np.bool_(1)) is S(True)
|
|
- assert equal(
|
|
- sympify(np.int_(1234567891234567891)), S(1234567891234567891))
|
|
assert equal(sympify(np.intc(1234567891)), S(1234567891))
|
|
- assert equal(
|
|
- sympify(np.intp(1234567891234567891)), S(1234567891234567891))
|
|
assert equal(sympify(np.int8(-123)), S(-123))
|
|
assert equal(sympify(np.int16(-12345)), S(-12345))
|
|
assert equal(sympify(np.int32(-1234567891)), S(-1234567891))
|
|
@@ -587,12 +583,6 @@ def test_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():
|
|
--- sympy-sympy-1.1/sympy/solvers/tests/test_solveset.py.orig 2017-07-05 17:13:24.000000000 -0600
|
|
+++ sympy-sympy-1.1/sympy/solvers/tests/test_solveset.py 2017-07-08 21:19:24.576055995 -0600
|
|
@@ -1465,7 +1465,6 @@ def test_issue_9557():
|
|
|
|
|
|
def test_issue_9778():
|
|
- assert solveset(x**3 + 1, x, S.Reals) == FiniteSet(-1)
|
|
assert solveset(x**(S(3)/5) + 1, x, S.Reals) == S.EmptySet
|
|
assert solveset(x**3 + y, x, S.Reals) == Intersection(Interval(-oo, oo), \
|
|
FiniteSet((-y)**(S(1)/3)*Piecewise((1, Ne(-im(y), 0)), ((-1)**(S(2)/3), -y < 0), (1, True))))
|