mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
More specific test
This commit is contained in:
parent
cf27e03dcd
commit
21209769bd
|
@ -35,7 +35,7 @@ class TestFileJpeg2k(PillowTestCase):
|
|||
|
||||
im = Image.open('Tests/images/test-card-lossless.jp2')
|
||||
px = im.load()
|
||||
self.assertTrue(px)
|
||||
self.assertEqual(px[0,0], (0, 0, 0))
|
||||
self.assertEqual(im.mode, 'RGB')
|
||||
self.assertEqual(im.size, (640, 480))
|
||||
self.assertEqual(im.format, 'JPEG2000')
|
||||
|
|
Loading…
Reference in New Issue
Block a user