Comment 1 for bug 1937162

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Reproducible on s390x via:

$ apt install python3-matplotlib python3-numpy python3-pyqt5 python3-pyqt5.qtsvg python3-pytest python3-pytest-xvfb python3-setuptools
$ apt build-dep pyspread
$ cd pyspread-1.99.6/pyspread
$ py.test-3 lib/test/test_qimageview.py

It expects
 0xff123456
or on big endian
 0x563412ff
That is like a full reversed number.

But we get actually what is expected on non big endian.
E assert 4279383126 == 1446253311

And 4279383126 == 0xff123456

So the byte swap seems to be handled elsewhere and here it does NOT come up big-endianized.

If that is a test that was mistakenly made too big endian ready OR if there is an underlying issue that needs to be fixed - I don't know.
I'll fix the test in some Ubuntu delta for now (it does not seem to be a regression, but a new test coverage that was missing before) and report it upstream for a long term resolution.