Le 17/11/2012 02:09, smichr a �crit :
It's something to do with Function('gamma') somehow pre-empting the real
gamma function. The problem can easily be reproduced in master:
In [1]: Function('gamma')
Out[1]: sympy.core.function.gamma
In [2]: from sympy.core.tests.test_wester import test_J10
In [3]: test_J10()
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
/home/ronan/dev/sympy/<ipython-input-3-fced9a91586b> in <module>()
----> 1 test_J10()
/home/ronan/dev/sympy/sympy/core/tests/test_wester.pyc in test_J10()
510 def test_J10():
511 mu, nu = symbols('mu, nu', integer=True)
--> 512 assert assoc_legendre(nu, mu, 0) ==
2**mu*sqrt(pi)/gamma((nu-mu)/2+1)/gamma((-nu-mu+1)/2)
513
514 def test_J11():
AssertionError: