On Thu, Oct 13, 2011 at 8:31 PM, Tom Bachmann <[email protected]> wrote: > Hi all, > > when rebasing my branch onto master, I suddenly get a test failure at line > 727 of sympy/solvers/tests/test_solvers.py. It took me quite a while to > notice the following, *in master*: > > % git checkout master > Already on 'master' > % bin/isympy > IPython console for SymPy 0.7.1-git (Python 2.6.7-64-bit) (ground types: > python) > > In [1]: print solve((2**exp(y**2/x) + 2)/(x**2 + 15), y) > Out[1]: [-sqrt(x)*sqrt(-log(log(2)) + log(log(2) + I*pi)), > sqrt(x)*sqrt(-log(log(2)) + log(log(2) + I*pi))] > > Notice that this is *not* what the unit test expects. So there seems to be > an issue vaguely related to caching / ordering of tests: on my branch, > Out[1] is what is returned in the test, whence it fails. > > Could someone who knows this code investigate what is going on? Actually, > can anyone reproduce this behaviour?
This is what I get on current master (ff8445e): In [1]: print solve((2**exp(y**2/x) + 2)/(x**2 + 15), y) [-sqrt(x)*sqrt(-log(log(2)) + log(log(2) + I*pi)), sqrt(x)*sqrt(-log(log(2)) + log(log(2) + I*pi))] Which looks the same as your result. I also don't have any failures in the tests, though. Perhaps I misunderstood you? > > Regards, > Tom > > -- > 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. > > -- Vladimir Perić -- 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.
