]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_byteswap() fails on alphas, because treating the byte swapped bit
authorWalter Dörwald <walter@livinglogic.de>
Thu, 22 May 2003 13:15:31 +0000 (13:15 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 22 May 2003 13:15:31 +0000 (13:15 +0000)
commitcf99b0afb6e6572508582438a6609c6923a6f275
tree9c3a4625309f7174521f3d75595508242949698b
parente41195fab62fa7eb695166ad6e84e351bcd8b6d1
test_byteswap() fails on alphas, because treating the byte swapped bit
patterns as floats/doubles results in floating point exceptions.

Fix this by implementing a separate test_byteswap() for the floating
point tests. This new test compares the tostring() values of both arrays
instead of the arrays themselves.

Discovered by Neal Norwitz.
Lib/test/test_array.py