[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-08-24 23:22:06 +00:00
parent 65694f3fb8
commit 972961c9fe

View File

@ -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)