Comment #18 on issue 2848 by pr...@goodok.ru: Failing test in sympy/solvers/test/test_solvers.py
http://code.google.com/p/sympy/issues/detail?id=2848

For information, I checked these tests on the:

executable:   /usr/bin/python  (2.6.6-final-0)
architecture: 64-bit
cache:        yes
ground types: python

and did not find out the difference with tests (depended of cache), when use this branch:

https://github.com/sympy/sympy/pull/722

In [1]: from sympy.core.cache import clear_cache

In [2]: simplify(I*pi)
Out[2]: I*pi

In [3]: (pi*I).is_positive
Out[3]: False

In [4]: (I*pi).is_positive
Out[4]: False                # True in master

In [5]: clear_cache()

In [6]: e = I*pi

In [7]: e.is_composite
Out[7]: False

In [8]: e.is_positive
Out[8]: False             # True in master

In [9]: clear_cache()

In [10]: simplify(I*pi)
Out[10]: I*pi

In [11]: simplify(simplify(log(log(-2)) - log(log(2))))
Out[11]: -log(log(2)) + log(log(2) + I*pi) # log(1 + I*pi/log(2)) in Master

Simultaneously I run IPython in master directory, and I have seen the dependence of the cache.


--
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.

Reply via email to