mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #3202 from radarhere/icns
Changed ICNS format tests to pass on OS X 10.11
This commit is contained in:
commit
c93bc51c5b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user