-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Open
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
When running the test suite for openSUSE/Linux on 32bit architectures (i586 and armv7l), I get this test failing
[ 3014s] ======================================================================
[ 3014s] FAIL: test_array_alignment (test.test_buffer.TestBufferProtocol.test_array_alignment)
[ 3014s] ----------------------------------------------------------------------
[ 3014s] Traceback (most recent call last):
[ 3014s] File "/home/abuild/rpmbuild/BUILD/python315-nogil-3.15.0_a6-build/Python-3.15.0a6/Lib/test/test_buffer.py", line 4480, in test_array_alignment
[ 3014s] self.assertEqual(
[ 3014s] ~~~~~~~~~~~~~~~~^
[ 3014s] [_testcapi.buffer_pointer_as_int(case) % align for case in cases],
[ 3014s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 3014s] [0] * len(cases),
[ 3014s] ^^^^^^^^^^^^^^^^^
[ 3014s] )
[ 3014s] ^
[ 3014s] AssertionError: Lists differ: [0, 4, 0, 0, 0, 0, 0, 0, 0, 0] != [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[ 3014s]
[ 3014s] First differing element 1:
[ 3014s] 4
[ 3014s] 0
[ 3014s]
[ 3014s] - [0, 4, 0, 0, 0, 0, 0, 0, 0, 0]
[ 3014s] ? ---
[ 3014s]
[ 3014s] + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[ 3014s] ? +++
[ 3014s]
[ 3014s]
[ 3014s] ----------------------------------------------------------------------
[ 3014s] Ran 97 tests in 11.932s
[ 3014s]
[ 3014s] FAILED (failures=1, skipped=2)Complete build log with all packages used and steps taken to reproduce.
It seems that _testcapi module has been correctly build.
CPython versions tested on:
3.15
Operating systems tested on:
Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error