Merge pull request #927 from cgohlke/patch-1

Fix AssertionError in TestFileJpeg.test_save_cjpeg
This commit is contained in:
wiredfool 2014-09-29 11:40:13 -07:00
commit 5a6827690b

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