From c2818ee09e2f858d3c50d7a2ec30256a4bab01e2 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sun, 13 Sep 2015 16:16:26 +0100 Subject: [PATCH] Add versioned api to tests --- Tests/test_file_libtiff.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/test_file_libtiff.py b/Tests/test_file_libtiff.py index 0a64b0f8b..57eeec43d 100644 --- a/Tests/test_file_libtiff.py +++ b/Tests/test_file_libtiff.py @@ -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