Skip to content

Commit 2c59fff

Browse files
committed
Remove unused parametrization from test_consistency_*
1 parent 87251e7 commit 2c59fff

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Tests/test_image_filter.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ def test_kernel_not_enough_coefficients() -> None:
170170
ImageFilter.Kernel((3, 3), (0, 0))
171171

172172

173-
@pytest.mark.parametrize("mode", MODES)
174-
def test_consistency_3x3(mode: str) -> None:
173+
def test_consistency_3x3() -> None:
175174
with Image.open("Tests/images/hopper.bmp") as source:
176175
with Image.open("Tests/images/hopper_emboss.bmp") as reference:
177176
kernel = ImageFilter.Kernel(
@@ -186,8 +185,7 @@ def test_consistency_3x3(mode: str) -> None:
186185
assert_image_equal(source.filter(kernel), reference)
187186

188187

189-
@pytest.mark.parametrize("mode", MODES)
190-
def test_consistency_5x5(mode: str) -> None:
188+
def test_consistency_5x5() -> None:
191189
with Image.open("Tests/images/hopper.bmp") as source:
192190
with Image.open("Tests/images/hopper_emboss_more.bmp") as reference:
193191
kernel = ImageFilter.Kernel(

0 commit comments

Comments
 (0)