bin/test sympy/simplify/tests/test_cse.py
============================= test process starts
==============================
executable: /usr/bin/python (2.6.6-final-0)
sympy/simplify/tests/
test_cse.py[10] ......f..F [FAIL]
________________________________________________________________________________
__________ sympy/simplify/tests/test_cse.py:test_multiple_expressions
__________
File "/home/ness/src/sympy/sympy/simplify/tests/test_cse.py", line
96, in test_multiple_expressions
assert substs == rsubsts
AssertionError
=== tests finished: 8 passed, 1 failed, 1 expected to fail, in 0.02
seconds ====
>>> l = [(x - z)*(y - z), x - z, y - z]
>>> cse(l)
([(x₀, x - z), (x₁, y - z)], [x₀⋅x₁, x₀, x₁])
>>> cse(reversed(l))
([(x₀, y - z), (x₁, x - z)], [x₀, x₁, x₀⋅x₁])
There is also a doctest failure:
File "/home/ness/src/sympy/sympy/geometry/polygon.py", line 18, in
sympy.geometry.polygon.Triangle.inradius
Failed example:
t.inradius
Expected:
(4*a**2*(a**2)**(1/2) - 2*2**(1/2)*a**2*(a**2)**(1/2))/(8*a**2)
Got:
-(-4*a**2*(a**2)**(1/2) + 2*2**(1/2)*a**2*(a**2)**(1/2))/(8*a**2)
These all look quite trivial but that still shouldn't happen master,
should it?
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.