More specific test

This commit is contained in:
wiredfool 2016-08-25 03:55:50 -07:00
parent cf27e03dcd
commit 21209769bd

View File

@ -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')