From 2538fa9e0fc7f06dd7a7b308b9feb2e85ea06a1b Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Mon, 29 Sep 2014 11:35:46 -0700 Subject: [PATCH] Fix AssertionError in TestFileJpeg.test_save_cjpeg --- Tests/test_file_jpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py index a11a2200e..b0f179d5f 100644 --- a/Tests/test_file_jpeg.py +++ b/Tests/test_file_jpeg.py @@ -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