Skip to content

Commit 24696af

Browse files
authored
Increase AVIF test epsilon for riscv64 (#9606)
1 parent 7be56cc commit 24696af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_file_avif.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ def test_write_rgb(self, tmp_path: Path) -> None:
145145

146146
# avifdec hopper.avif avif/hopper_avif_write.png
147147
assert_image_similar_tofile(
148-
reloaded, "Tests/images/avif/hopper_avif_write.png", 6.88
148+
reloaded, "Tests/images/avif/hopper_avif_write.png", 6.93
149149
)
150150

151151
# This test asserts that the images are similar. If the average pixel
152152
# difference between the two images is less than the epsilon value,
153153
# then we're going to accept that it's a reasonable lossy version of
154154
# the image.
155-
assert_image_similar(reloaded, im, 9.28)
155+
assert_image_similar(reloaded, im, 9.39)
156156

157157
def test_AvifEncoder_with_invalid_args(self) -> None:
158158
"""

0 commit comments

Comments
 (0)