On Fri, Jul 6, 2012 at 1:30 PM, McCully, Dwayne (NIH/NLM/LHC) [C] < dmccully@mail.nih.gov> wrote:
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**
These tests are known to fail on PowerPC, see http://projects.scipy.org/numpy/ticket/1664 https://github.com/numpy/numpy/commit/1b99089 The question is why the above commit is not effective on your system. Could you check that? For example, is this not true: import platform "powerpc" in platform.processor() Ralf
**
*======================================================================*
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)****
** **
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion