From 21209769bd226bc88496932dfd0c95a0c39daf34 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Thu, 25 Aug 2016 03:55:50 -0700 Subject: [PATCH] More specific test --- Tests/test_file_jpeg2k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_jpeg2k.py b/Tests/test_file_jpeg2k.py index 29a6d5f73..df4814e53 100644 --- a/Tests/test_file_jpeg2k.py +++ b/Tests/test_file_jpeg2k.py @@ -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')