From 9a1697e9c96f5170ef2dee5e0b054afebc6ef834 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Wed, 25 Oct 2023 16:38:14 +0200 Subject: [PATCH] test_wand.py: fix typo in test skip (#133) Checks for webp skip but should check for avif skip. --- tests/test_wand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wand.py b/tests/test_wand.py index ed80ff1..aa55b50 100644 --- a/tests/test_wand.py +++ b/tests/test_wand.py @@ -273,7 +273,7 @@ def test_save_avif_quality(self): low_quality = self.image.save_as_avif(io.BytesIO(), quality=30) self.assertTrue(low_quality.f.tell() < high_quality.f.tell()) - @unittest.skipIf(no_webp_support, "ImageMagick was built without AVIF support") + @unittest.skipIf(no_avif_support, "ImageMagick was built without AVIF support") def test_save_avif_lossless(self): original_image = self.image.image