From 7f3ec390c9260967510e9255f4f6351411407adc Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 8 Jan 2025 19:51:42 +1100 Subject: [PATCH] Fixed typo --- Tests/test_file_avif.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index 8abfaf0579d..f64f00b2bee 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -706,13 +706,13 @@ def test_heif_raises_unidentified_image_error(self) -> None: with Image.open("Tests/images/avif/rgba10.heif"): pass - @pytest.mark.parametrize("alpha_premultipled", [False, True]) - def test_alpha_premultiplied_true(self, alpha_premultipled: bool) -> None: + @pytest.mark.parametrize("alpha_premultiplied", [False, True]) + def test_alpha_premultiplied_true(self, alpha_premultiplied: bool) -> None: im = Image.new("RGBA", (10, 10), (0, 0, 0, 0)) im_buf = BytesIO() - im.save(im_buf, "AVIF", alpha_premultiplied=alpha_premultipled) + im.save(im_buf, "AVIF", alpha_premultiplied=alpha_premultiplied) im_bytes = im_buf.getvalue() - assert has_alpha_premultiplied(im_bytes) is alpha_premultipled + assert has_alpha_premultiplied(im_bytes) is alpha_premultiplied def test_timestamp_and_duration(self, tmp_path: Path) -> None: """