Skip to content

Commit

Permalink
updated tests to match new tile descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnisson authored and radarhere committed Apr 19, 2019
1 parent 89b3743 commit 5d16d4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/test_file_libtiff.py
Expand Up @@ -124,7 +124,7 @@ def test_adobe_deflate_tiff(self):
self.assertEqual(im.mode, "RGB")
self.assertEqual(im.size, (278, 374))
self.assertEqual(
im.tile[0][:3], ('tiff_adobe_deflate', (0, 0, 278, 374), 0))
im.tile[0][:3], ('libtiff', (0, 0, 278, 374), 0))
im.load()

self.assert_image_equal_tofile(im,
Expand Down Expand Up @@ -638,7 +638,7 @@ def test_16bit_RGBa_tiff(self):
self.assertEqual(im.size, (100, 40))
self.assertEqual(
im.tile,
[('tiff_lzw', (0, 0, 100, 40), 0, ('RGBa;16N', 'tiff_lzw', False))]
[('libtiff', (0, 0, 100, 40), 0, ('RGBa;16N', 'tiff_lzw', False, 38236))]
)
im.load()

Expand All @@ -658,7 +658,7 @@ def test_gimp_tiff(self):
self.assertEqual(im.mode, "RGB")
self.assertEqual(im.size, (256, 256))
self.assertEqual(
im.tile, [('jpeg', (0, 0, 256, 256), 0, ('RGB', 'jpeg', False))]
im.tile, [('libtiff', (0, 0, 256, 256), 0, ('RGB', 'jpeg', False, 5122))]
)
im.load()

Expand Down

0 comments on commit 5d16d4f

Please sign in to comment.