
Installing on a Sun machine with Red Hat linux, I got the following error: ====================================================================== FAIL: test_umath.TestComplexFunctions.test_against_cmath ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/nose/ case.py", line 182, in runTest self.test(*self.arg) File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/ numpy/core/tests/test_umath.py", line 268, in test_against_cmath assert abs(a - b) < atol, "%s %s: %s; cmath: %s"%(fname,p,a,b) AssertionError: arcsinh -2j: (-1.31695789692-1.57079632679j); cmath: (1.31695789692-1.57079632679j) ---------------------------------------------------------------------- Ran 1740 tests in 9.839s FAILED (KNOWNFAIL=1, failures=1) <nose.result.TextTestResult run=1740 errors=0 failures=1> How would you recommend I troubleshoot this? How seriously should I take it? This is with a fresh Python 2.5.4 installation too. -gideon

On Wed, Jan 21, 2009 at 10:53 AM, Gideon Simpson <simpson@math.toronto.edu> wrote:
====================================================================== FAIL: test_umath.TestComplexFunctions.test_against_cmath ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/nose/ case.py", line 182, in runTest self.test(*self.arg) File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/ numpy/core/tests/test_umath.py", line 268, in test_against_cmath assert abs(a - b) < atol, "%s %s: %s; cmath: %s"%(fname,p,a,b) AssertionError: arcsinh -2j: (-1.31695789692-1.57079632679j); cmath: (1.31695789692-1.57079632679j)
---------------------------------------------------------------------- Ran 1740 tests in 9.839s
FAILED (KNOWNFAIL=1, failures=1) <nose.result.TextTestResult run=1740 errors=0 failures=1>
How would you recommend I troubleshoot this? How seriously should I take it?
This is with a fresh Python 2.5.4 installation too.
I think it is a problem with cmath and should probably be marked as a knownfailure: http://bugs.python.org/issue1381
participants (2)
-
Gideon Simpson
-
Jarrod Millman