SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-127572: Fix `test_structmembers` initialization (GH-127577)

gh-127572: Fix `test_structmembers` initialization.

The 'C' format code expects an `int` as a destination (not a `char`).
This led to test failures on big-endian platforms like s390x. Use the
'c' format code, which expects a `char` as the destination (but requires
a Python byte objects instead of a str).
S
Sam Gross committed
6fc643674983e27ec5cc312f2e83468050d1d364
Parent: 7f882c8
Committed by GitHub <noreply@github.com> on 12/4/2024, 8:58:22 AM