From a89c4e455d61af6524eff14437031f830522eedc Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Wed, 20 Sep 2017 09:26:40 +0000 Subject: [PATCH] Target mode is I, check pixels --- Tests/test_file_tiff.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index 4c6ae4af3..115a0e765 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -201,7 +201,9 @@ class TestFileTiff(PillowTestCase): def test_16bit_s(self): im = Image.open('Tests/images/16bit.s.tif') im.load() - self.assertEqual(im.mode, 'I;16S') + self.assertEqual(im.mode, 'I') + self.assertEqual(im.getpixel((0,0)),32767) + self.assertEqual(im.getpixel((0,1)),0) def test_12bit_rawmode(self): """ Are we generating the same interpretation