Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.2
-
None
-
-
0cfddaa56f (pyside/pyside-setup/dev) 6843f7fe3d (pyside/pyside-setup/6.2) 6843f7fe3d (pyside/tqtc-pyside-setup/6.2) 59397d2783 (pyside/tqtc-pyside-setup/5.15) 0cfddaa56f (pyside/tqtc-pyside-setup/tqtc/dev) 6843f7fe3d (pyside/pyside-setup/6.2.4)
Description
I just noticed today that one of the pyside6 test always failed on big endian archs (ppc64 and s390x):
[ 6191s] 124/461 Test #123: QtCore_qbytearray_test ..........................***Failed 1.90 sec [ 6191s] .........FF............ [ 6191s] ====================================================================== [ 6191s] FAIL: testSliceAssignmentByteArray (__main__.QByteArraySliceAssignment) [ 6191s] ---------------------------------------------------------------------- [ 6191s] Traceback (most recent call last): [ 6191s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.2.2/sources/pyside6/tests/QtCore/qbytearray_test.py", line 272, in testSliceAssignmentByteArray [ 6191s] self.assertEqual(b, bytes('012CBA6789', "UTF8")) [ 6191s] AssertionError: PySide6.QtCore.QByteArray(b'0126789') != b'012CBA6789' [ 6191s] [ 6191s] ====================================================================== [ 6191s] FAIL: testSliceAssignmentBytes (__main__.QByteArraySliceAssignment) [ 6191s] ---------------------------------------------------------------------- [ 6191s] Traceback (most recent call last): [ 6191s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.2.2/sources/pyside6/tests/QtCore/qbytearray_test.py", line 221, in testSliceAssignmentBytes [ 6191s] self.assertEqual(b, bytes('012CBA6789', "UTF8")) [ 6191s] AssertionError: PySide6.QtCore.QByteArray(b'0126789') != b'012CBA6789' [ 6191s] [ 6191s] ---------------------------------------------------------------------- [ 6191s] Ran 23 tests in 0.243s [ 6191s] [ 6191s] FAILED (failures=2)
Attachments
For Gerrit Dashboard: PYSIDE-1804 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
393633,3 | Prospective fix for broken QByteArray::__msetitem__() on big endian architectures | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
393634,5 | Refactor code snippets for QByteArray::__msetitem__()/__mgetitem__() | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
393822,2 | Prospective fix for broken QByteArray::__msetitem__() on big endian architectures | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
393829,2 | Refactor code snippets for QByteArray::__msetitem__()/__mgetitem__() | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
393830,2 | Prospective fix for broken QByteArray::__msetitem__() on big endian architectures | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
393831,1 | Prospective fix for broken QByteArray::__msetitem__() on big endian architectures | 5.15 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |