Applied Hugovk recommendations

This commit is contained in:
Fran Barba 2017-06-28 12:12:44 +02:00
parent ebaa509d66
commit a7d75c4b21

View File

@ -143,10 +143,8 @@ class TestFileJpeg(PillowTestCase):
try:
im.save(f, format='JPEG', progressive=True,quality=95,
icc_profile=icc_profile, optimize=True)
assert True
except IOError:
assert False, "Failed saving image with icc larger than image size"
self.fail("Failed saving image with icc larger than image size")
def test_optimize(self):
im1 = self.roundtrip(hopper())