[Numpy-discussion] Numpy 1.3.0 rc1 fails find_duplicates on Solaris
Charles R Harris
charlesr.harris@gmail....
Mon Mar 30 15:03:17 CDT 2009
On Mon, Mar 30, 2009 at 10:28 AM, Mark Sienkiewicz <sienkiew@stsci.edu>wrote:
> Numpy 1.3.0 rc1 fails this self-test on Solaris.
>
>
> ======================================================================
> FAIL: Test find_duplicates
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/ra/pyssg/2.5.1/numpy/lib/tests/test_recfunctions.py", line
> 163, in test_find_duplicates
> assert_equal(test[0], a[control])
> File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/testutils.py", line 121, in
> assert_equal
> return assert_array_equal(actual, desired, err_msg)
> File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/testutils.py", line 193, in
> assert_array_equal
> header='Arrays are not equal')
> File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/testutils.py", line 186, in
> assert_array_compare
> verbose=verbose, header=header)
> File "/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 395, in
> assert_array_compare
> raise AssertionError(msg)
> AssertionError:
> Arrays are not equal
>
> (mismatch 50.0%)
> x: array([(1, (2.0, 'B')), (2, (2.0, 'B')), (2, (2.0, 'B')), (1, (2.0,
> 'B'))],
> dtype=[('A', '>i4'), ('B', [('BA', '>f8'), ('BB', '|S1')])])
> y: array([(2, (2.0, 'B')), (1, (2.0, 'B')), (2, (2.0, 'B')), (1, (2.0,
> 'B'))],
> dtype=[('A', '>i4'), ('B', [('BA', '>f8'), ('BB', '|S1')])])
>
> ----------------------------------------------------------------------
>
>
>
> The software I am using:
>
> NumPy version 1.3.0rc1
> Python version 2.5.1 (r251:54863, Jun 4 2008, 15:48:19) [C]
> nose version 0.10.4
>
These are new (two months old) tests. Hmm, they are also marked as known
failures on win32. I wonder why they fail there and not on linux? I think
you should open a ticket for this.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090330/98f99903/attachment-0001.html
More information about the Numpy-discussion
mailing list