Comment #24 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026
The piecewise failure is due to the ordering of the expression args. The two sides of the assert equality are equivalent. We can test for both cases, or we can canonicalize the order of args in piecewise_fold().
A more complete (and complex) solution would be to implement simplification for piecewise functions that recognizes the fact that the condition in the inner Piecewise is never reached.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.