[SciPy-dev] Updated OS X build instructions -- test failures.

Andrew Jaffe a.h.jaffe at gmail.com
Fri Jan 6 03:40:19 CST 2006


Hi All-

I've found the following test(10) errors under OS X (Bob Ippolito's 
Python 2.4.1). Test(1) succeeds. Should I be worried? Actually, it's 
gotten worse since version 1834: the mask failure is new.

In [1]: import numpy

In [2]: numpy.__version__
Out[2]: '0.9.3.1837'

In [3]: numpy.test(10)
   Found 2 tests for numpy.core.umath
   Found 21 tests for numpy.core.ma
   Found 6 tests for numpy.core.records
   Found 3 tests for numpy.distutils.misc_util
   Found 4 tests for numpy.lib.getlimits
   Found 9 tests for numpy.lib.twodim_base
   Found 44 tests for numpy.lib.shape_base
   Found 4 tests for numpy.lib.index_tricks
   Found 42 tests for numpy.lib.type_check
   Found 3 tests for numpy.dft.helper
   Found 6 tests for numpy.core.defmatrix
   Found 33 tests for numpy.lib.function_base
   Found 0 tests for __main__
............F.....................E................................................................................................................................................
======================================================================
ERROR: check_singleton (numpy.lib.getlimits.test_getlimits.test_longdouble)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/tests/test_getlimits.py", 
line 33, in check_singleton
     ftype = finfo(longdouble)
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/getlimits.py", 
line 47, in __new__
     obj = object.__new__(cls)._init(dtype)
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/getlimits.py", 
line 73, in _init
     "numpy longfloat precision floating "\
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/lib/machar.py", 
line 128, in __init__
     raise RuntimeError, "could not determine machine tolerance " \
RuntimeError: could not determine machine tolerance for 'negep'

======================================================================
FAIL: Test of masked element
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/core/tests/test_ma.py", 
line 508, in check_testMasked
     self.failUnlessRaises(Exception, lambda x,y: x+y, masked, masked)
AssertionError: Exception not raised

----------------------------------------------------------------------
Ran 179 tests in 2.880s

FAILED (failures=1, errors=1)
Out[3]: <unittest.TextTestRunner object at 0x1666a50>




More information about the Scipy-dev mailing list