Comment #7 on issue 1233 by [email protected]: fix the rest of jython
bugs
http://code.google.com/p/sympy/issues/detail?id=1233
Yes, anything you can report is useful (even better if you manage to fix
it, of
course!). Unfortunately, the test suite doesn't behave properly when sympy
hangs. You
can run only part of the tests by passing a directory to bin/test or by
using the -k
option. For instance, "jython bin/test sympy/core/" will only run the tests
in
sympy/core and "jython bin/test sympy/series/ -k Limits_simple_0" gives the
following:
============================= test process starts
==============================
executable: /home/ronan/jython2.5.1/jython (2.5.1-final-0)
sympy/series/tests/test_demidovich.py[1] E
[FAIL]
sympy/series/tests/test_gruntz.py[0]
[OK]
sympy/series/tests/test_limits.py[0]
[OK]
sympy/series/tests/test_lseries.py[0]
[OK]
sympy/series/tests/test_nseries.py[0]
[OK]
sympy/series/tests/test_order.py[0]
[OK]
sympy/series/tests/test_series.py[0]
[OK]
________________________________________________________________________________
__________ sympy/series/tests/test_demidovich.py:test_Limits_simple_0
__________
File
"/media/sda2/Boulot/Projets/sympy-git/sympy/series/tests/test_demidovich.py",
line 22, in test_Limits_simple_0
assert limit((2**(x+1)+3**(x+1))/(2**x+3**x),x,oo)==3 #175
File "/media/sda2/Boulot/Projets/sympy-git/sympy/series/limits.py", line
91, in limit
r = gruntz(e, z, z0, dir)
File "/media/sda2/Boulot/Projets/sympy-git/sympy/series/limits.py", line
91, in limit
r = gruntz(e, z, z0, dir)
File "/media/sda2/Boulot/Projets/sympy-git/sympy/series/gruntz.py", line
498, in gruntz
return limitinf(e, z)
File "/media/sda2/Boulot/Projets/sympy-git/sympy/series/gruntz.py", line
339, in
limitinf
c0, e0 = mrv_leadterm(e,x)
File "/media/sda2/Boulot/Projets/sympy-git/sympy/series/gruntz.py", line
408, in
mrv_leadterm
return series.leadterm(wsym)
File "/media/sda2/Boulot/Projets/sympy-git/sympy/core/basic.py", line
2402, in leadterm
raise ValueError("cannot compute leadterm(%s, %s), got c=%s" % (self,
x, c))
ValueError: cannot compute leadterm(2**(1 + x)*_w**(log(3)/log(2)) + 3**(1 +
x)*_w**(log(3)/log(2)), _w), got c=2**(1 + x)*_w**(log(3)/log(2)) + 3**(1 +
x)*_w**(log(3)/log(2))
=========== tests finished: 0 passed, 1 exceptions in 13.25 seconds
============
DO *NOT* COMMIT!
So, rather unsurprisingly, there's a problem in the limit code (this is one
of the
most complicated parts of sympy).
--
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.