mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Replace lena.dcx with hopper.dcx. Created with ImageMagick: convert hopper.ppm hopper.dcx
This commit is contained in:
parent
4a243e90bc
commit
76a7965187
BIN
Tests/images/hopper.dcx
Normal file
BIN
Tests/images/hopper.dcx
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, DcxImagePlugin
|
||||
|
||||
# Created with ImageMagick: convert lena.ppm lena.dcx
|
||||
TEST_FILE = "Tests/images/lena.dcx"
|
||||
# Created with ImageMagick: convert hopper.ppm hopper.dcx
|
||||
TEST_FILE = "Tests/images/hopper.dcx"
|
||||
|
||||
|
||||
class TestFileDcx(PillowTestCase):
|
||||
|
@ -17,7 +17,7 @@ class TestFileDcx(PillowTestCase):
|
|||
# Assert
|
||||
self.assertEqual(im.size, (128, 128))
|
||||
self.assertIsInstance(im, DcxImagePlugin.DcxImageFile)
|
||||
orig = lena()
|
||||
orig = hopper()
|
||||
self.assert_image_equal(im, orig)
|
||||
|
||||
def test_tell(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user