Updates:
Status: Accepted
Cc: ness...@googlemail.com
Comment #11 on issue 2562 by asmeurer: Test failure in
generate_derangements() with Python2.5
http://code.google.com/p/sympy/issues/detail?id=2562
There are still problems with this. For example:
$python2.5 bin/test concrete
============================= test process starts
==============================
executable: /sw/bin/python2.5 (2.5.6-final-0)
architecture: 64-bit
ground types: gmpy
random seed: 33137401
sympy/concrete/tests/test_gosper.py[10] ..........
[OK]
sympy/concrete/tests/test_products.py[4] ....
[OK]
sympy/concrete/tests/test_sums_products.py[24] ......ffff............E.
[FAIL]
________________________________________________________________________________
___________ sympy/concrete/tests/test_sums_products.py:test_hypersum
___________
File "/users/aaronmeurer/documents/python/sympy/sympy-scratch/sympy/concrete/tests/test_sums_products.py",
line 243, in test_hypersum
s = summation(x**n*n, (n, -oo, 0))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 256, in summation
return Sum(f, *symbols, **kwargs).doit(deep=False)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 80, in doit
f = eval_sum(f, limit)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 336, in eval_sum
value = eval_sum_symbolic(f.expand(), (i, a, b))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 413, in eval_sum_symbolic
return eval_sum_hyper(f, (i, a, b))
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 467, in eval_sum_hyper
res = _eval_sum_hyper(f.subs(i, -i), i, -b)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 425, in _eval_sum_hyper
return _eval_sum_hyper(f.subs(i, i + 1), i, 0)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/concrete/summations.py",
line 459, in _eval_sum_hyper
return f.subs(i, 0)*hyperexpand(h), h.convergence_statement
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/simplify/hyperexpand.py",
line 1546, in hyperexpand
return f.replace(hyper, do_replace).replace(meijerg, do_meijer)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/basic.py",
line 986, in replace
result = rec_replace(self)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/basic.py",
line 977, in rec_replace
value = _value(expr, result)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/core/basic.py",
line 934, in <lambda>
_value = lambda expr, result: value(*expr.args)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/simplify/hyperexpand.py",
line 1536, in do_replace
r = _hyperexpand(IndexPair(ap, bq), z)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/simplify/hyperexpand.py",
line 1305, in _hyperexpand
f = collection.lookup_origin(nip)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/simplify/hyperexpand.py",
line 698, in lookup_origin
l = f.find_instantiations(ip)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy-scratch/sympy/simplify/hyperexpand.py",
line 556, in find_instantiations
from itertools import permutations, product
ImportError: cannot import name permutations
tests finished: 33 passed, 4 expected to fail, 1 exceptions, in 50.50
seconds =
DO *NOT* COMMIT!
--
You received this message because you are subscribed to the Google Groups
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-patches?hl=en.