Skip to content
Snippets Groups Projects
Commit 923bb1a8071d authored by wiredfool's avatar wiredfool
Browse files

Test for icc_profile write issues

parent baa19b032bf2
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,6 @@
im.save(out)
reloaded = Image.open(out)
self.assert_(type(im.info['icc_profile']) is not type(tuple))
self.assert_(type(im.info['icc_profile']) is not tuple)
self.assertEqual(im.info['icc_profile'], reloaded.info['icc_profile'])
......@@ -179,5 +179,9 @@
self.assertEqual(im.info['icc_profile'], reloaded.info['icc_profile'])
png_out = self.tempfile('temp.png')
# This should not error out. #1462
im.save(png_out)
def test_iccprofile_binary(self):
# https://github.com/python-pillow/Pillow/issues/1526
# We should be able to load this, but probably won't be able to save it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment