[Numpy-discussion] Numpy test failure - How to fix

McCully, Dwayne (NIH/NLM/LHC) [C] dmccully@mail.nih....
Fri Jul 6 06:30:45 CDT 2012


Hope this is the right list to post this problem!  I'm getting two errors when running a numpy (see below).
Could someone tell me how to fix this or if the errors are not a concern.

Dwayne

python -c 'import numpy; numpy.test(verbose=2)'

Python 2.7.3
Numpy 1.6.2
Nose 1.1.2
PowerPC
Red Hat Linux 64 bit

======================================================================
FAIL: test_umath.test_nextafterl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/local/lib/python2.7/site-packages/numpy/testing/decorators.py", line 215, in knownfailer
    return f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1119, in test_nextafterl
    return _test_nextafter(np.longdouble)
  File "/usr/local/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1103, in _test_nextafter
    assert np.nextafter(one, two) - one == eps
AssertionError

======================================================================
FAIL: test_umath.test_spacingl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/local/lib/python2.7/site-packages/numpy/testing/decorators.py", line 215, in knownfailer
    return f(*args, **kwargs)
 File "/usr/local/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1146, in test_spacingl
    return _test_spacing(np.longdouble)
  File "/usr/local/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1128, in _test_spacing
   assert np.spacing(one) == eps
AssertionError

----------------------------------------------------------------------
Ran 3576 tests in 22.974s

FAILED (KNOWNFAIL=6, failures=2)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120706/13f345a4/attachment-0001.html 


More information about the NumPy-Discussion mailing list