From 81c92242d8e6cdde1c8f2b4814b0a9ab0b3f1d7f Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 21 Aug 2019 17:42:25 +0100 Subject: [PATCH] relax HEIC threshold libheic versions change rounding behaviour --- test/test-suite/test_foreign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-suite/test_foreign.py b/test/test-suite/test_foreign.py index 4d8501b6..0ef1e2b6 100644 --- a/test/test-suite/test_foreign.py +++ b/test/test-suite/test_foreign.py @@ -830,7 +830,7 @@ class TestForeign: def test_heifload(self): def heif_valid(im): a = im(10, 10) - assert_almost_equal_objects(a, [75.0, 86.0, 81.0]) + assert_almost_equal_objects(a, [75.0, 86.0, 81.0], threshold=2) assert im.width == 4032 assert im.height == 3024 assert im.bands == 3