[Numpy-tickets] [NumPy] #654: problems with numpy tests
NumPy
numpy-tickets@scipy....
Tue Feb 5 14:45:34 CST 2008
#654: problems with numpy tests
--------------------+-------------------------------------------------------
Reporter: yippi | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.5
Component: Other | Version: none
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
I find that numpy has test programs in this directory:
/usr/lib/python2.4/vendor-packages/numpy/core/tests
Two tests seem to have failures. test_scalarmath.py and test_numeric.py.
The other tests seem to pass okay. I am
running on Solaris Nevada x86. Are you seeing these errors on other
platforms?
I see the following output with the two failed tests.
% python test_scalarmath.py
Found 6/6 tests for __main__
.F....
======================================================================
FAIL: check_large_types (__main__.TestPower)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_scalarmath.py", line 52, in check_large_types
assert b == 6765201, "error with %r: got %r" % (t,b)
AssertionError: error with <type 'numpy.float96'>: got
6765201.00000000000364
----------------------------------------------------------------------
Ran 6 tests in 0.078s
FAILED (failures=1)
$ python test_numeric.py
Found 62/62 tests for __main__
.......................................................................Warning:
invalid value encountered in absolute
Warning: invalid value encountered in absolute
Warning: invalid value encountered in less_equal
.....
----------------------------------------------------------------------
Ran 76 tests in 0.124s
OK
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/654>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list