Add versioned api to tests

This commit is contained in:
wiredfool 2015-09-13 16:16:26 +01:00
parent 86bda9a705
commit c2818ee09e

View File

@ -232,7 +232,8 @@ class TestFileLibTiff(LibTiffTestCase):
orig.save(out)
reread = Image.open(out)
self.assertEqual('temp.tif', reread.tag[269])
self.assertEqual('temp.tif', reread.tag_v2[269])
self.assertEqual('temp.tif', reread.tag[269][0])
def test_12bit_rawmode(self):
""" Are we generating the same interpretation