From 86fb383739597acafc5e452e38eb3b87370d5eb1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 27 Apr 2024 14:08:36 +1000 Subject: [PATCH] Corrected big-endian check --- Tests/test_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image.py b/Tests/test_image.py index b7f81408000..e1490d6a083 100644 --- a/Tests/test_image.py +++ b/Tests/test_image.py @@ -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)