Skip to content

Commit

Permalink
Corrected big-endian check
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 27, 2024
1 parent 824db71 commit 86fb383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ def test_roundtrip_bytes_method(self, mode: str) -> None:

@pytest.mark.parametrize("mode", modes)
def test_getdata_putdata(self, mode: str) -> None:
if is_big_endian and mode == "BGR;15":
if is_big_endian() and mode == "BGR;15":
pytest.xfail("Known failure of BGR;15 on big-endian")
im = hopper(mode)
reloaded = helper_image_new(mode, im.size)
Expand Down

0 comments on commit 86fb383

Please sign in to comment.