Increase AVIF test epsilon for riscv64 (#9606)

This commit is contained in:
Andrew Murray 2026-05-08 19:50:29 +10:00 committed by GitHub
parent 7be56cc100
commit 24696af889
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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:
"""