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 Jun 23, 2019
1 parent 77f352f commit 9c9d11d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/test_file_libtiff.py
Expand Up @@ -121,7 +121,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))
self.assertEqual(im.tile[0][:3], ("libtiff", (0, 0, 278, 374), 0))
im.load()

self.assert_image_equal_tofile(im, "Tests/images/tiff_adobe_deflate.png")
Expand Down Expand Up @@ -661,7 +661,7 @@ def test_16bit_RGBa_tiff(self):
self.assertEqual(im.mode, "RGBA")
self.assertEqual(im.size, (100, 40))
self.assertEqual(
im.tile, [("tiff_lzw", (0, 0, 100, 40), 0, ("RGBa;16N", "tiff_lzw", False))]
im.tile, [("libtiff", (0, 0, 100, 40), 0, ("RGBa;16N", "tiff_lzw", False, 38236))]
)
im.load()

Expand All @@ -680,7 +680,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 9c9d11d

Please sign in to comment.