Skip to content
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

Corrected big-endian check #8022

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Corrected big-endian check #8022

merged 1 commit into from
Apr 27, 2024

Conversation

radarhere
Copy link
Member

Pillow/Tests/helper.py

Lines 374 to 375 in 824db71

def is_big_endian() -> bool:
return sys.byteorder == "big"

is not called as a function in

Pillow/Tests/test_image.py

Lines 1052 to 1053 in 824db71

def test_getdata_putdata(self, mode: str) -> None:
if is_big_endian and mode == "BGR;15":

@hugovk hugovk merged commit c250a44 into python-pillow:main Apr 27, 2024
54 checks passed
@radarhere radarhere deleted the big_endian branch April 27, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants