Fix AssertionError in TestFileJpeg.test_save_cjpeg

This commit is contained in:
Christoph Gohlke 2014-09-29 11:35:46 -07:00
parent 7fcb371fd3
commit 2538fa9e0f

View File

@ -323,7 +323,7 @@ class TestFileJpeg(PillowTestCase):
tempfile = self.tempfile("temp.jpg")
JpegImagePlugin._save_cjpeg(img, 0, tempfile)
# Default save quality is 75%, so a tiny bit of difference is alright
self.assert_image_similar(img, Image.open(tempfile), 15)
self.assert_image_similar(img, Image.open(tempfile), 17)
def test_no_duplicate_0x1001_tag(self):
# Arrange