Merge pull request #8022 from radarhere/big_endian

This commit is contained in:
Hugo van Kemenade 2024-04-27 11:57:16 +03:00 committed by GitHub
commit c250a44177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1050,7 +1050,7 @@ class TestImageBytes:
@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)