mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
remove test_putdata_mode_BGR(), superseded by test_getdata_putdata()
This commit is contained in:
parent
28731adcbe
commit
a96e38cf77
|
@ -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",
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue
Block a user