-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_char
in test_structmembers
fails on s390x
#127572
Labels
tests
Tests in the Lib/test dir
Comments
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Dec 3, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Dec 3, 2024
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 intead of a str).
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Dec 3, 2024
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 intead of a str).
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Dec 3, 2024
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).
encukou
pushed a commit
that referenced
this issue
Dec 4, 2024
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).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After merging #123211:
https://buildbot.python.org/#/builders/509/builds/7885
cc @dpdani @vstinner
Linked PRs
test_structmembers
initialization #127577The text was updated successfully, but these errors were encountered: