Ticket #654 (closed defect: fixed)
Numpy tests failure on solaris
| Reported by: | yippi | Owned by: | cdavid |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Other | Version: | none |
| Keywords: | Cc: |
Description
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
