From 24696af8898f86007252c5774da9f14f2be93879 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Fri, 8 May 2026 19:50:29 +1000 Subject: [PATCH] Increase AVIF test epsilon for riscv64 (#9606) --- Tests/test_file_avif.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index a25f77177..3ad38fd7e 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -145,14 +145,14 @@ class TestFileAvif: # avifdec hopper.avif avif/hopper_avif_write.png assert_image_similar_tofile( - reloaded, "Tests/images/avif/hopper_avif_write.png", 6.88 + reloaded, "Tests/images/avif/hopper_avif_write.png", 6.93 ) # This test asserts that the images are similar. If the average pixel # difference between the two images is less than the epsilon value, # then we're going to accept that it's a reasonable lossy version of # the image. - assert_image_similar(reloaded, im, 9.28) + assert_image_similar(reloaded, im, 9.39) def test_AvifEncoder_with_invalid_args(self) -> None: """