mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Replace lena.spider with hopper.spider, created with Pillow.
This commit is contained in:
parent
14ac9ce59c
commit
53a04a4118
BIN
Tests/images/hopper.spider
Normal file
BIN
Tests/images/hopper.spider
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1,9 +1,9 @@
|
||||||
from helper import unittest, PillowTestCase, lena
|
from helper import unittest, PillowTestCase, hopper
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
from PIL import SpiderImagePlugin
|
from PIL import SpiderImagePlugin
|
||||||
|
|
||||||
TEST_FILE = "Tests/images/lena.spider"
|
TEST_FILE = "Tests/images/hopper.spider"
|
||||||
|
|
||||||
|
|
||||||
class TestImageSpider(PillowTestCase):
|
class TestImageSpider(PillowTestCase):
|
||||||
|
@ -18,7 +18,7 @@ class TestImageSpider(PillowTestCase):
|
||||||
def test_save(self):
|
def test_save(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
temp = self.tempfile('temp.spider')
|
temp = self.tempfile('temp.spider')
|
||||||
im = lena()
|
im = hopper()
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
im.save(temp, "SPIDER")
|
im.save(temp, "SPIDER")
|
||||||
|
@ -44,7 +44,7 @@ class TestImageSpider(PillowTestCase):
|
||||||
|
|
||||||
def test_loadImageSeries(self):
|
def test_loadImageSeries(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
not_spider_file = "Tests/images/lena.ppm"
|
not_spider_file = "Tests/images/hopper.ppm"
|
||||||
file_list = [TEST_FILE, not_spider_file, "path/not_found.ext"]
|
file_list = [TEST_FILE, not_spider_file, "path/not_found.ext"]
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
|
|
Loading…
Reference in New Issue
Block a user