[Numpy-discussion] Fresh svn numpy install fails 2 tests (OS X)

Steve Lianoglou lists.steve at arachnedesign.net
Sat Jul 22 16:50:13 CDT 2006


Hi folks,

Since 1.0 release is eminent, I just wanted to draw the attention to  
two failures I get when I run numpy.test(1).

I've never been able to get numpy to pass all test cases, but now it  
fails a second one, so .. I'm pasting it below. Please let me know if  
these are non-consequential.

System info:
	+ Intel Mac (MacBook Pro)
	+ OS X.4.7
	+ numpy version: 1.0.2881

test failures:

FAIL: check_large_types (numpy.core.tests.test_scalarmath.test_power)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/ 
test_scalarmath.py", line 47, in check_large_types
     assert b == 6765201, "error with %r: got %r" % (t,b)
AssertionError: error with <type 'float128scalar'>: got 0.0

======================================================================
FAIL: check_types (numpy.core.tests.test_scalarmath.test_types)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/ 
test_scalarmath.py", line 20, in check_types
     assert a == 1, "error with %r: got %r" % (atype,a)
AssertionError: error with <type 'float128scalar'>: got  
1.02604810941480982577e-4936

----------------------------------------------------------------------
Ran 468 tests in 1.157s

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


----------------------------------------
Thanks,
-steve




More information about the Numpy-discussion mailing list