[Numpy-discussion] test() failures in 0.9.2

Gary Ruben gruben at bigpond.net.au
Fri Jan 6 14:46:36 CST 2006


Note: Running numpy.test() with the python23 installer version results 
in 2 errors on both my Win98 and my Win2k box:

ERROR: check_basic (numpy.core.defmatrix.test_defmatrix.test_algebra)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\PYTHON23\Lib\site-packages\numpy\core\tests\test_defmatrix.py", line
111, in check_basic
     assert allclose((mA ** -i).A, B)
   File "C:\PYTHON23\Lib\site-packages\numpy\core\defmatrix.py", line 
148, in __p
ow__
     x = self.I
   File "C:\PYTHON23\Lib\site-packages\numpy\core\defmatrix.py", line 
203, in get
I
     return matrix(inv(self))
   File "C:\PYTHON23\Lib\site-packages\scipy\linalg\basic.py", line 176, 
in inv
     a1 = asarray_chkfinite(a)
   File "C:\PYTHON23\Lib\site-packages\scipy_base\function_base.py", 
line 32, in
asarray_chkfinite
     if not all(isfinite(x)):
TypeError: function not supported for these types, and can't coerce to 
supported
  types

======================================================================
ERROR: check_basic (numpy.core.defmatrix.test_defmatrix.test_properties)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\PYTHON23\Lib\site-packages\numpy\core\tests\test_defmatrix.py", line
34, in check_basic
     assert allclose(linalg.inv(A), mA.I)
   File "C:\PYTHON23\Lib\site-packages\numpy\core\defmatrix.py", line 
203, in get
I
     return matrix(inv(self))
   File "C:\PYTHON23\Lib\site-packages\scipy\linalg\basic.py", line 176, 
in inv
     a1 = asarray_chkfinite(a)
   File "C:\PYTHON23\Lib\site-packages\scipy_base\function_base.py", 
line 32, in
asarray_chkfinite
     if not all(isfinite(x)):
TypeError: function not supported for these types, and can't coerce to 
supported
  types

----------------------------------------------------------------------
Ran 177 tests in 6.100s

FAILED (errors=2)


Gary R.





More information about the Numpy-discussion mailing list