diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index 81b5f2646ed..31829dfed5c 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -289,7 +289,8 @@ def test_exif(self) -> None: exif = im.getexif() assert exif[274] == 3 - @pytest.mark.parametrize("use_bytes, orientation", [(True, 1), (False, 2)]) + @pytest.mark.parametrize("use_bytes", [True, False]) + @pytest.mark.parametrize("orientation", [1, 2]) def test_exif_save( self, tmp_path: Path, @@ -393,7 +394,7 @@ def test_seek(self) -> None: with pytest.raises(EOFError): im.seek(1) - @pytest.mark.parametrize("subsampling", ["4:4:4", "4:2:2", "4:0:0"]) + @pytest.mark.parametrize("subsampling", ["4:4:4", "4:2:2", "4:2:0", "4:0:0"]) def test_encoder_subsampling(self, tmp_path: Path, subsampling: str) -> None: with Image.open(TEST_AVIF_FILE) as im: test_file = str(tmp_path / "temp.avif")