From 92677190b73f3573bdcb3689eda8b893e37f82b7 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 2 May 2026 22:50:45 +1000 Subject: [PATCH] Increase epsilon for riscv64 --- 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 a25f7717797..3ad38fd7e8b 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -145,14 +145,14 @@ def test_write_rgb(self, tmp_path: Path) -> None: # 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: """