mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #927 from cgohlke/patch-1
Fix AssertionError in TestFileJpeg.test_save_cjpeg
This commit is contained in:
commit
5a6827690b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user