Skip to content

Commit

Permalink
BGR;16 does not fail on big-endian
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 25, 2024
1 parent 9851057 commit 54c8279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,8 +1037,8 @@ 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 in ("BGR;15", "BGR;16"):
pytest.xfail(f"Known failure of {mode} on big-endian")
if is_big_endian and mode == "BGR;15":
pytest.xfail("Known failure of BGR;15 on big-endian")
im = hopper(mode)
reloaded = Image.new(mode, im.size)
reloaded.putdata(im.getdata())
Expand Down

0 comments on commit 54c8279

Please sign in to comment.