From b0d9b0037bbb8a02972c004e5f84fbf905e81140 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 23 Jun 2018 15:14:49 +1000 Subject: [PATCH] Changed ICNS format tests to pass on OS X 10.11 --- Tests/test_file_icns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_icns.py b/Tests/test_file_icns.py index d8d6a128e..06a7e39bb 100644 --- a/Tests/test_file_icns.py +++ b/Tests/test_file_icns.py @@ -40,11 +40,11 @@ class TestFileIcns(PillowTestCase): im = Image.open(TEST_FILE) temp_file = self.tempfile("temp.icns") - provided_im = Image.new('RGBA', (32, 32), (255, 0, 0, 0)) + provided_im = Image.new('RGBA', (32, 32), (255, 0, 0, 128)) im.save(temp_file, append_images=[provided_im]) reread = Image.open(temp_file) - self.assert_image_equal(reread, im) + self.assert_image_similar(reread, im, 1) reread = Image.open(temp_file) reread.size = (16, 16, 2)