Skip to content

Commit

Permalink
Merge pull request #927 from cgohlke/patch-1
Browse files Browse the repository at this point in the history
Fix AssertionError in TestFileJpeg.test_save_cjpeg
  • Loading branch information
wiredfool committed Sep 29, 2014
2 parents 7fcb371 + 2538fa9 commit 5a68276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_file_jpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def test_save_cjpeg(self):
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
Expand Down

0 comments on commit 5a68276

Please sign in to comment.