mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Applied Hugovk recommendations
This commit is contained in:
parent
ebaa509d66
commit
a7d75c4b21
|
@ -143,10 +143,8 @@ class TestFileJpeg(PillowTestCase):
|
||||||
try:
|
try:
|
||||||
im.save(f, format='JPEG', progressive=True,quality=95,
|
im.save(f, format='JPEG', progressive=True,quality=95,
|
||||||
icc_profile=icc_profile, optimize=True)
|
icc_profile=icc_profile, optimize=True)
|
||||||
assert True
|
|
||||||
except IOError:
|
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):
|
def test_optimize(self):
|
||||||
im1 = self.roundtrip(hopper())
|
im1 = self.roundtrip(hopper())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user