diff --git a/Tests/images/hopper.ico b/Tests/images/hopper.ico new file mode 100644 index 000000000..0c6fd8c70 Binary files /dev/null and b/Tests/images/hopper.ico differ diff --git a/Tests/images/lena.ico b/Tests/images/lena.ico deleted file mode 100644 index 6fadbe29e..000000000 Binary files a/Tests/images/lena.ico and /dev/null differ diff --git a/Tests/test_file_ico.py b/Tests/test_file_ico.py index c3bf7a992..12f4ed3f3 100644 --- a/Tests/test_file_ico.py +++ b/Tests/test_file_ico.py @@ -3,14 +3,14 @@ from helper import unittest, PillowTestCase from PIL import Image # sample ppm stream -file = "Tests/images/lena.ico" -data = open(file, "rb").read() +TEST_ICO_FILE = "Tests/images/hopper.ico" +TEST_DATA = open(TEST_ICO_FILE, "rb").read() class TestFileIco(PillowTestCase): def test_sanity(self): - im = Image.open(file) + im = Image.open(TEST_ICO_FILE) im.load() self.assertEqual(im.mode, "RGBA") self.assertEqual(im.size, (16, 16))