mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
65694f3fb8
commit
972961c9fe
|
@ -96,7 +96,9 @@ def test_rankfilter(mode, expected):
|
|||
assert (minimum, med, maximum) == expected
|
||||
|
||||
|
||||
@pytest.mark.parametrize("filter", (ImageFilter.MinFilter, ImageFilter.MedianFilter, ImageFilter.MaxFilter))
|
||||
@pytest.mark.parametrize(
|
||||
"filter", (ImageFilter.MinFilter, ImageFilter.MedianFilter, ImageFilter.MaxFilter)
|
||||
)
|
||||
def test_rankfilter_error(filter):
|
||||
with pytest.raises(ValueError):
|
||||
im = Image.new("P", (3, 3), None)
|
||||
|
|
Loading…
Reference in New Issue
Block a user