From 8096db89188ed1b8dd302ff557a27576074e0943 Mon Sep 17 00:00:00 2001 From: Yay295 Date: Sun, 28 Apr 2024 00:32:07 -0500 Subject: [PATCH] remove test_putdata_mode_BGR(), superseded by test_getdata_putdata() --- Tests/test_image_data.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Tests/test_image_data.py b/Tests/test_image_data.py index 94edbe532f4..5379355e952 100644 --- a/Tests/test_image_data.py +++ b/Tests/test_image_data.py @@ -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", (