Christopher Burns wrote: > Nope. I figured that would be included in the 1.1.1 release.
It seems a few bugs have been found and fixed. It would be nice to put out another release candidate with those fixes at some point. Anyway: OS-X 10.4.11 Dual g5 PPC: FAILED (failures=3, errors=12) <unittest._TextTestResult run=1315 errors=12 failures=3> I think these are all the ma errors and endian errors already identified, but here are the details: >>> numpy.test(all=True) Numpy is installed in /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy Numpy version 1.1.0rc1 Python version 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] Found 18/18 tests for numpy.core.tests.test_defmatrix Found 3/3 tests for numpy.core.tests.test_errstate Found 36/36 tests for numpy.core.tests.test_ma Found 3/3 tests for numpy.core.tests.test_memmap Found 283/283 tests for numpy.core.tests.test_multiarray Found 70/70 tests for numpy.core.tests.test_numeric Found 36/36 tests for numpy.core.tests.test_numerictypes Found 12/12 tests for numpy.core.tests.test_records Found 140/140 tests for numpy.core.tests.test_regression Found 2/2 tests for numpy.core.tests.test_reshape Found 7/7 tests for numpy.core.tests.test_scalarmath Found 2/2 tests for numpy.core.tests.test_ufunc Found 16/16 tests for numpy.core.tests.test_umath Found 63/63 tests for numpy.core.tests.test_unicode Found 4/4 tests for numpy.distutils.tests.test_fcompiler_gnu Found 5/5 tests for numpy.distutils.tests.test_misc_util Found 2/2 tests for numpy.fft.tests.test_fftpack Found 3/3 tests for numpy.fft.tests.test_helper Found 24/24 tests for numpy.lib.tests.test__datasource Found 10/10 tests for numpy.lib.tests.test_arraysetops Found 1/1 tests for numpy.lib.tests.test_financial Found 53/53 tests for numpy.lib.tests.test_function_base Found 5/5 tests for numpy.lib.tests.test_getlimits Found 6/6 tests for numpy.lib.tests.test_index_tricks Found 15/15 tests for numpy.lib.tests.test_io Found 1/1 tests for numpy.lib.tests.test_machar Found 4/4 tests for numpy.lib.tests.test_polynomial Found 1/1 tests for numpy.lib.tests.test_regression Found 49/49 tests for numpy.lib.tests.test_shape_base Found 15/15 tests for numpy.lib.tests.test_twodim_base Found 43/43 tests for numpy.lib.tests.test_type_check Found 1/1 tests for numpy.lib.tests.test_ufunclike Found 89/89 tests for numpy.linalg.tests.test_linalg Found 3/3 tests for numpy.linalg.tests.test_regression Found 94/94 tests for numpy.ma.tests.test_core Found 15/15 tests for numpy.ma.tests.test_extras Found 17/17 tests for numpy.ma.tests.test_mrecords Found 36/36 tests for numpy.ma.tests.test_old_ma Found 4/4 tests for numpy.ma.tests.test_subclassing Found 7/7 tests for numpy.tests.test_random Found 16/16 tests for numpy.testing.tests.test_utils Found 5/5 tests for numpy.tests.test_ctypeslib ...................................................../Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/ma.py:608: UserWarning: Cannot automatically convert masked array to numeric because data is masked in one or more locations. warnings.warn("Cannot automatically convert masked array to "\ F..............................................................................................................................................................................................................................................................................................FF............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. ...........................................................................................................................................................................................EEE.EEEE...E..EE.................................E....E.............................. ====================================================================== ERROR: Test creation by view ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 51, in test_byview assert_equal_records(mbase._data, base._data.view(recarray)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 74, in assert_equal_records assert_equal(getattr(a,f), getattr(b,f)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 103, in assert_equal return _assert_equal_on_sequences(actual.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Test filling the array ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 258, in test_filled assert_equal(mrecfilled['c'], np.array(('one','two','N/A'), dtype='|S8')) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 103, in assert_equal return _assert_equal_on_sequences(actual.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Tests fields retrieval ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 62, in test_get assert_equal(getattr(mbase,field), mbase[field]) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 104, in assert_equal desired.tolist(), File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py", line 2552, in tolist result = self.filled().tolist() RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Test pickling ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 243, in test_pickling assert_equal_records(mrec_._data, mrec._data) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 74, in assert_equal_records assert_equal(getattr(a,f), getattr(b,f)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 103, in assert_equal return _assert_equal_on_sequences(actual.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: test_set_elements (numpy.ma.tests.test_mrecords.TestMRecords) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 185, in test_set_elements assert_equal(mbase._fieldmask.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Tests setting fields. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 104, in test_set_fields assert_equal(mbase._fieldmask.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: test_set_mask (numpy.ma.tests.test_mrecords.TestMRecords) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 142, in test_set_mask assert_equal(mbase._fieldmask.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Test tolist. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 269, in test_tolist assert_equal(mrec.tolist(), File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/mrecords.py", line 474, in tolist result = narray(self.filled().tolist(), dtype=object) RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Test construction from records. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 312, in test_fromrecords assert_equal_records(pa,mpa) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 74, in assert_equal_records assert_equal(getattr(a,f), getattr(b,f)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 103, in assert_equal return _assert_equal_on_sequences(actual.tolist(), RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: Tests construction from records w/ mask. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_mrecords.py", line 333, in test_fromrecords_wmask _mrec = fromrecords(nrec.tolist(), dtype=ddtype, mask=[0,1,0,]) RuntimeError: array_item not returning smaller-dimensional array ====================================================================== ERROR: check_testUfuncRegression (numpy.ma.tests.test_old_ma.TestUfuncs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_old_ma.py", line 657, in check_testUfuncRegression uf = getattr(umath, f) NameError: global name 'umath' is not defined ====================================================================== ERROR: Tests whether the subclass is kept. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/tests/test_subclassing.py", line 86, in check_data_subclassing assert_equal(xmsub._data, xsub) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 106, in assert_equal return assert_array_equal(actual, desired, err_msg) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 201, in assert_array_equal header='Arrays are not equal') File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/testutils.py", line 185, in assert_array_compare reduced = reduced.tolist() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ma/core.py", line 2552, in tolist result = self.filled().tolist() RuntimeError: array_item not returning smaller-dimensional array ====================================================================== FAIL: check_testUfuncRegression (numpy.core.tests.test_ma.test_ufuncs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_ma.py", line 692, in check_testUfuncRegression self.failUnless(eqmask(ur.mask, mr.mask)) AssertionError ====================================================================== FAIL: test_basic (numpy.core.tests.test_multiarray.TestView) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_multiarray.py", line 843, in test_basic assert_array_equal(y, [67305985, 134678021]) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py", line 248, in assert_array_equal verbose=verbose, header='Arrays are not equal') File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py", line 240, in assert_array_compare assert cond, msg AssertionError: Arrays are not equal (mismatch 100.0%) x: array([16909060, 84281096]) y: array([ 67305985, 134678021]) ====================================================================== FAIL: test_keywords (numpy.core.tests.test_multiarray.TestView) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_multiarray.py", line 852, in test_keywords assert_array_equal(y,[[513]]) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py", line 248, in assert_array_equal verbose=verbose, header='Arrays are not equal') File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py", line 240, in assert_array_compare assert cond, msg AssertionError: Arrays are not equal (mismatch 100.0%) x: array([[258]], dtype=int16) y: array([[513]]) ---------------------------------------------------------------------- Ran 1315 tests in 5.155s FAILED (failures=3, errors=12) <unittest._TextTestResult run=1315 errors=12 failures=3> -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion