mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Fix test according to original: 689f28aae7 (diff-d48d995756d16b9d9b8151e27377a37dR25)
This commit is contained in:
parent
f21b45c976
commit
30bb31ef59
|
@ -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