mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-10 07:14:46 +03:00
Updated deprecated assert
This commit is contained in:
parent
c06a0e816a
commit
d8a2271d19
|
@ -154,7 +154,7 @@ class TestFileTiffMetadata(PillowTestCase):
|
|||
|
||||
im.save(out)
|
||||
reloaded = Image.open(out)
|
||||
self.assert_(type(im.info['icc_profile']) is not type(tuple))
|
||||
self.assertNotIsInstance(im.info['icc_profile'], tuple)
|
||||
self.assertEqual(im.info['icc_profile'], reloaded.info['icc_profile'])
|
||||
|
||||
def test_iccprofile_binary(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user