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.

** Changed in: pyspread (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1937162

Title:
  1.99.6 tests fail on s390x - byteorder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyspread/+bug/1937162/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to