mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Corrected big-endian check
This commit is contained in:
parent
824db7152d
commit
86fb383739
|
@ -1050,7 +1050,7 @@ class TestImageBytes:
|
||||||
|
|
||||||
@pytest.mark.parametrize("mode", modes)
|
@pytest.mark.parametrize("mode", modes)
|
||||||
def test_getdata_putdata(self, mode: str) -> None:
|
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")
|
pytest.xfail("Known failure of BGR;15 on big-endian")
|
||||||
im = hopper(mode)
|
im = hopper(mode)
|
||||||
reloaded = helper_image_new(mode, im.size)
|
reloaded = helper_image_new(mode, im.size)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user