Ticket #1 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

unittest failures under OS X

Reported by: a.h.jaffe@… Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Python 2.4.1 (Ippolitto's framework), OS X 10.4.1, gcc 3.3, numpy 0.9.3.1840: (Sorry for the weird wikified markup...)

In [5]: numpy.test(1,1)

Found 2 tests for numpy.core.umath Found 21 tests for numpy.core.ma Found 6 tests for numpy.core.records Found 3 tests for numpy.distutils.misc_util Found 3 tests for numpy.lib.getlimits Found 9 tests for numpy.lib.twodim_base Found 44 tests for numpy.lib.shape_base Found 4 tests for numpy.lib.index_tricks Found 42 tests for numpy.lib.type_check Found 3 tests for numpy.dft.helper Found 6 tests for numpy.core.defmatrix Found 33 tests for numpy.lib.function_base Found 0 tests for main

............F..............................................................................................................................F...FF................................. ====================================================================== FAIL: Test of masked element


Traceback (most recent call last):

File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/core/tests/test_ma.py", line 508, in check_testMasked

self.failUnlessRaises(Exception, lambda x,y: x+y, masked, masked)

AssertionError?: Exception not raised

====================================================================== FAIL: 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/core/tests/test_defmatrix.py", line 111, in check_basic

assert allclose((mA ** -i).A, B)

AssertionError?

====================================================================== FAIL: 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/core/tests/test_defmatrix.py", line 34, in check_basic

assert allclose(linalg.inv(A), mA.I)

AssertionError?

====================================================================== FAIL: check_comparisons (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/core/tests/test_defmatrix.py", line 50, in check_comparisons

assert all(mB == matrix(A+0.1))

AssertionError?


Ran 178 tests in 1.136s

FAILED (failures=4) Out[5]: <unittest.TextTestRunner? object at 0x16a7850>

Change History

Changed 5 years ago by oliphant

  • status changed from new to closed
  • resolution set to fixed

Closed. Masked array issue should not have been testing for an error and other problems were due to introduction of new capability of .view() to return an ndarray of a different sub-class.

Note: See TracTickets for help on using tickets.