[Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system

Charles R Harris charlesr.harris at gmail.com
Sun Apr 1 14:14:41 EDT 2007


On 4/1/07, Christopher Hanley <chanley at stsci.edu> wrote:
>
> The following test fails on a Solaris 8 system:
>
> ======================================================================
> FAIL: check_basic (numpy.core.tests.test_multiarray.test_clip)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/data/basil5/site-packages/lib/python/numpy/core/tests/test_multiarray.py",
> line 388, in check_basic
>     self._clip_type('float',1024,-12.8,100.2, inplace=inplace)
>   File
> "/data/basil5/site-packages/lib/python/numpy/core/tests/test_multiarray.py",
> line 382, in _clip_type
>     assert_equal(byteorder,x.dtype.byteorder)
>   File "/data/basil5/site-packages/lib/python/numpy/testing/utils.py",
> line 143, in assert_equal
>     assert desired == actual, msg
> AssertionError:
> Items are not equal:
> ACTUAL: '<'
> DESIRED: '='
>
> ----------------------------------------------------------------------
> Ran 562 tests in 19.376s
>
> FAILED (failures=1)
>
>
> _


Hmm, Sun hardware is big endian, no? I wonder what happens on PPC? I don't
see any problems here on Athlon64.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070401/45d9d0c6/attachment.html>


More information about the NumPy-Discussion mailing list