mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Applied Hugovk recommendations
This commit is contained in:
parent
ebaa509d66
commit
a7d75c4b21
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user