def testByteswap(self): A = arange(10) B = A.copy() NE.byteswap(B) B = B.byteswapped() assert alltrue(A == B), "NE.byteswap and Numeric.array.byteswapped gave different results"
def testByteswap(self): A = arange(10) B = A.copy() NE.byteswap(B) B = B.byteswapped() assert alltrue( A == B ), "NE.byteswap and Numeric.array.byteswapped gave different results"