[Numpy-discussion] test_multiarray.test_clip fails on Solaris 8 system
Ted Horst
ted.horst at earthlink.net
Sun Apr 1 19:06:34 EDT 2007
I get the same failure on ppc. Here is the result of your commands:
big
<
>
=
On Apr 1, 2007, at 16:22, Stefan van der Walt wrote:
> Hi Chris
>
> Would you please run the following commands and show their output?
>
> import sys
> print sys.byteorder
>
> import numpy as N
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder
> ('<')).dtype.byteorder
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder
> ('>')).dtype.byteorder
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder
> ('=')).dtype.byteorder
>
> Output on my little-endian system is
>
> little
> <
>>
> =
>
> and I'd be curious to see if the output on a big-endian system follows
> the same pattern.
>
> I'd expect
>
> big
> <
>>
> =
>
> Cheers
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list