mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Test for ICO corrected
This commit is contained in:
parent
738a1dd777
commit
78565ea3f1
|
@ -9,6 +9,6 @@ data = open(file, "rb").read()
|
||||||
def test_sanity():
|
def test_sanity():
|
||||||
im = Image.open(file)
|
im = Image.open(file)
|
||||||
im.load()
|
im.load()
|
||||||
assert_equal(im.mode, "P")
|
assert_equal(im.mode, "RGBA")
|
||||||
assert_equal(im.size, (16, 16))
|
assert_equal(im.size, (16, 16))
|
||||||
assert_equal(im.format, "ICO")
|
assert_equal(im.format, "ICO")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user