[Numpy-discussion] numpy svn unit test failure

Christopher Fonnesbeck chris at trichech.us
Wed Jan 18 19:10:01 CST 2006


Tonight's svn build of numpy on OS X 10.4 fails the unit test:

In [2]: numpy.test(1,1)
   Found 3 tests for numpy.distutils.misc_util
   Found 10 tests for numpy.core.umath
   Found 8 tests for numpy.lib.arraysetops
   Found 42 tests for numpy.lib.type_check
   Found 9 tests for numpy.lib.twodim_base
   Found 15 tests for numpy.core.multiarray
   Found 25 tests for numpy.core.ma
   Found 6 tests for numpy.core.defmatrix
   Found 3 tests for numpy.lib.getlimits
   Found 33 tests for numpy.lib.function_base
   Found 3 tests for numpy.dft.helper
   Found 6 tests for numpy.core.records
   Found 8 tests for numpy.core.numeric
   Found 4 tests for numpy.lib.index_tricks
   Found 44 tests for numpy.lib.shape_base
   Found 0 tests for __main__
........................................................................ 
........................................E...E........................... 
........................................................................ 
.....
======================================================================
ERROR: check_basic (numpy.core.defmatrix.test_defmatrix.test_algebra)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/core/tests/test_defmatrix.py", line 111, in check_basic
     assert allclose((mA ** -i).A, B)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/core/defmatrix.py", line 155, in __pow__
     x = self.I
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/core/defmatrix.py", line 209, in getI
     from numpy.dual import inv
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/dual.py", line 24, in ?
     import scipy.linalg as linpkg
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/__init__.py", line 8, in ?
     from basic import *
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/basic.py", line 17, in ?
     from flinalg import get_flinalg_funcs
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/flinalg.py", line 15, in ?
     from numpy.distutils.misc_util import PostponedException
ImportError: cannot import name PostponedException

======================================================================
ERROR: check_basic (numpy.core.defmatrix.test_defmatrix.test_properties)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/core/tests/test_defmatrix.py", line 34, in check_basic
     assert allclose(linalg.inv(A), mA.I)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/core/defmatrix.py", line 209, in getI
     from numpy.dual import inv
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/numpy-0.9.4.1940-py2.4-macosx-10.4-ppc.egg/ 
numpy/dual.py", line 24, in ?
     import scipy.linalg as linpkg
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/__init__.py", line 8, in ?
     from basic import *
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/basic.py", line 17, in ?
     from flinalg import get_flinalg_funcs
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy-0.4.4.1562-py2.4-macosx-10.4-ppc.egg/ 
scipy/linalg/flinalg.py", line 15, in ?
     from numpy.distutils.misc_util import PostponedException
ImportError: cannot import name PostponedException

----------------------------------------------------------------------
Ran 221 tests in 2.990s

FAILED (errors=2)
Out[2]: <unittest.TextTestRunner object at 0x120aa70>


--
Christopher J. Fonnesbeck

Population Ecologist, Marine Mammal Section
Fish & Wildlife Research Institute (FWC)
St. Petersburg, FL

Adjunct Assistant Professor
Warnell School of Forest Resources
University of Georgia
Athens, GA

T: 727.235.5570
E: chris at trichech.us


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060118/de5dac60/attachment-0001.bin 


More information about the Numpy-discussion mailing list