[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

new numpy tests fail



Hi,

so the new numpy is in Debian, finally...

But one test fails:

In [1]: import numpy

In [2]: numpy.test()
Running unit tests for numpy
/var/lib/python-support/python2.5/nose/plugins/manager.py:386:
UserWarning: Module nose was already imported from
/var/lib/python-support/python2.5/nose/__init__.py, but
/var/lib/python-support/python2.5 is being added to sys.path
  import pkg_resources
NumPy version 1.2.1
NumPy is installed in /usr/lib/python2.5/site-packages/numpy
Python version 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3]
nose version 0.10.4
..........................................................................................................................................................................................................................................................................................................................................................................................................................................F................K..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_umath.TestComplexFunctions.test_against_cmath
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File "/usr/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 1726 tests in 9.747s

FAILED (KNOWNFAIL=1, failures=1)
Out[2]: <nose.result.TextTestResult run=1726 errors=0 failures=1>




If anyone (David:) has time to look into it, it'd be great.

Ondrej


Reply to: