Comment #3 on issue 1260 by ondrej.certik: the solver fix broke python
-Qnew tests
http://code.google.com/p/sympy/issues/detail?id=1260
If you apply the following patch, it will also fail in regular python
(without
-Qnew), so I think this is not related to Robert's patch above, but rather
it's a new
bug.
$ git diff
diff --git a/sympy/solvers/tests/test_solvers.py
b/sympy/solvers/tests/test_solv
index 8a8968e..9632c22 100644
--- a/sympy/solvers/tests/test_solvers.py
+++ b/sympy/solvers/tests/test_solvers.py
@@ -24,7 +24,7 @@ def test_guess_strategy():
assert guess_solve_strategy( x**2 - 1, x ) == GS_POLY
assert guess_solve_strategy( x*y + y, x ) == GS_POLY
assert guess_solve_strategy( x*exp(y) + y, x) == GS_POLY
- assert guess_solve_strategy( (x - y**3)/(y**2*(1 - y**2)**(1/2)), x)
== GS_
+ assert guess_solve_strategy( (x - y**3)/(y**2*(1 - y**2)**(S(1)/2)),
x) ==
# polynomial equations via a change of variable
assert guess_solve_strategy( x**Rational(1,2) + 1, x ) == GS_POLY_CV_1
@@ -36,7 +36,7 @@ def test_guess_strategy():
# rational functions
assert guess_solve_strategy( (x+1)/(x**2 + 2), x) == GS_RATIONAL
- assert guess_solve_strategy( (x - y**3)/(y**2*(1 - y**2)**(1/2)), y)
== GS_
+ assert guess_solve_strategy( (x - y**3)/(y**2*(1 - y**2)**(S(1)/2)),
y) ==
# rational functions via the change of variable y -> x**n
assert guess_solve_strategy( (x**Rational(1,2) + 1)/(x**Rational(1,3)
+ x**
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---