Skip to content

Commit

Permalink
remove test_putdata_mode_BGR(), superseded by test_getdata_putdata()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yay295 committed Jun 15, 2024
1 parent ac39e85 commit 97d8ffe
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Tests/test_image_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@ def test_putdata_scale_and_offset(mode: str, scale: float, offset: float) -> Non
assert list(im.getdata()) == target


@pytest.mark.parametrize("mode", ("BGR;15", "BGR;16", "BGR;24"))
def test_putdata_mode_BGR(mode: str) -> None:
data = [(16, 32, 49), (32, 32, 98)]
with pytest.warns(DeprecationWarning):
im = Image.new(mode, (1, 2))
im.putdata(data)

assert list(im.getdata()) == data


@pytest.mark.parametrize(
"mode, type, value",
(
Expand Down

0 comments on commit 97d8ffe

Please sign in to comment.