Re: [Numpy-discussion] URGENT: Re: 1.1.0rc1, Mac Installer: please test it

2008-05-21 Thread Tommy Grav
Doing the same on a the Mac installer also returns 3 failures and 12  
errors with all=True.
Installer works fine though :)

[skathi:~] tgrav% python
ActivePython 2.5.1.1 (ActiveState Software Inc.) based on
Python 2.5.1 (r251:54863, May  1 2007, 17:40:00)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type help, copyright, credits or license for more information.
  import numpy
  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:54863, May  1 2007, 17:40:00) [GCC 4.0.1  
(Apple Computer, Inc. build 5250)]

./Library/ 
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ 
numpy/core/ma.py:609: 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... 
 
 
...F 
F..EEE....E..EE.EE..
==
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
 

Re: [Numpy-discussion] URGENT: Re: 1.1.0rc1, Mac Installer: please test it

2008-05-21 Thread George Nurser
2008/5/21 Pierre GM [EMAIL PROTECTED]:
 Mmh, wait a minute:
 * There shouldn't be any mstats.py nor morestats.py in numpy.ma any longer: I
 moved the packages to scipy.stats along their respective unittests.

Right. I hadn't deleted the previous
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy

After doing that, I get just 12 errors; no failures.
The errors are related to
* ma/tests/test_mrecords.py
* ma/tests/test_old_ma.py
* ma/tests/test_subclassing.py

-George.

Numpy version 1.1.0rc1
Python version 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1
(Apple Computer, Inc. build 5363)]
...
...EEE....E..EE.EE..
==
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

==