From bb23a1fe6cc2e16c987fb7d12721e1e2b36e2bc1 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 28 Aug 2018 11:18:21 +0100 Subject: [PATCH] fix openexr alpha test --- test/test-suite/test_foreign.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-suite/test_foreign.py b/test/test-suite/test_foreign.py index 98c6874b..c4383437 100644 --- a/test/test-suite/test_foreign.py +++ b/test/test-suite/test_foreign.py @@ -518,8 +518,8 @@ class TestForeign: def test_openexrload(self): def exr_valid(im): a = im(10, 10) - assert_almost_equal_objects(a, [0.124512, 0.159668, - 0.040375, 1.0], + assert_almost_equal_objects(a, [0.124512, 0.159668, 0.040375, + 255.0], threshold=0.00001) assert im.width == 610 assert im.height == 406