[Numpy-discussion] URGENT: Re: 1.1.0rc1, Win32 Installer: please test it
Alan G Isaac
aisaac at american.edu
Wed May 21 08:29:48 EDT 2008
On Tue, 20 May 2008, joep apparently wrote:
> missed with option all=True:
Yes, I also see this with numpy.test(all=True).
(Same old machine (no SSE2) running Win 2000.)
Alan
======================================================================
ERROR: Test creation by view
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 51, in test_byview
assert_equal_records(mbase._data, base._data.view(recarray))
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
assert_equal(getattr(a,f), getattr(b,f))
File "C:\Python25\Lib\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 "C:\Python25\Lib\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 "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 62, in test_get
assert_equal(getattr(mbase,field), mbase[field])
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 104, in assert_equal
desired.tolist(),
File "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 243, in test_pickling
assert_equal_records(mrec_._data, mrec._data)
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
assert_equal(getattr(a,f), getattr(b,f))
File "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 185, in test_set_elemen
ts
assert_equal(mbase._fieldmask.tolist(),
RuntimeError: array_item not returning smaller-dimensional array
======================================================================
ERROR: Tests setting fields.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\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 "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 269, in test_tolist
assert_equal(mrec.tolist(),
File "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 312, in test_fromrecord
s
assert_equal_records(pa,mpa)
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 74, in assert_equal_records
assert_equal(getattr(a,f), getattr(b,f))
File "C:\Python25\Lib\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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_mrecords.py", line 333, in test_fromrecord
s_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 "C:\Python25\Lib\site-packages\numpy\ma\tests\test_old_ma.py", line 657, in check_testUfuncRe
gression
uf = getattr(umath, f)
NameError: global name 'umath' is not defined
======================================================================
ERROR: Tests whether the subclass is kept.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\numpy\ma\tests\test_subclassing.py", line 86, in check_data_su
bclassing
assert_equal(xmsub._data, xsub)
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 106, in assert_equal
return assert_array_equal(actual, desired, err_msg)
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 201, in assert_array_equal
header='Arrays are not equal')
File "C:\Python25\Lib\site-packages\numpy\ma\testutils.py", line 185, in assert_array_compare
reduced = reduced.tolist()
File "C:\Python25\Lib\site-packages\numpy\ma\core.py", line 2552, in tolist
result = self.filled().tolist()
RuntimeError: array_item not returning smaller-dimensional array
======================================================================
FAIL: Ticket #652
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\numpy\linalg\tests\test_regression.py", line 32, in test_eig_b
uild
assert_array_almost_equal(va, rva)
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 255, in assert_array_almost_equa
l
header='Arrays are not almost equal')
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 240, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 46.1538461538%)
x: array([ 1.03221168e+02 +0.00000000e+00j,
-1.91843603e+01 +0.00000000e+00j,
1.82126812e+01 +0.00000000e+00j,...
y: array([ 1.03221168e+02 +0.j , -1.91843603e+01 +0.j ,
-6.04004526e-01+15.84422474j, -6.04004526e-01-15.84422474j,
-1.13692929e+01 +0.j , -6.57612485e-01+10.41755503j,...
----------------------------------------------------------------------
Ran 1277 tests in 16.640s
FAILED (failures=1, errors=12)
<unittest._TextTestResult run=1277 errors=12 failures=1>
>>>
More information about the NumPy-Discussion
mailing list