mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Merge pull request #1216 from hugovk/fix_osx_build
Fix test according to original
This commit is contained in:
commit
414c3f8b3a
|
@ -27,10 +27,10 @@ class TestFileIcns(PillowTestCase):
|
|||
def test_save(self):
|
||||
im = Image.open(TEST_FILE)
|
||||
|
||||
TEST_FILE = self.tempfile("temp.icns")
|
||||
im.save(TEST_FILE)
|
||||
temp_file = self.tempfile("temp.icns")
|
||||
im.save(temp_file)
|
||||
|
||||
reread = Image.open(TEST_FILE)
|
||||
reread = Image.open(temp_file)
|
||||
|
||||
self.assertEqual(reread.mode, "RGBA")
|
||||
self.assertEqual(reread.size, (1024, 1024))
|
||||
|
|
Loading…
Reference in New Issue
Block a user