Skip to content

Commit a4721d3

Browse files
bluepython508radarhere
authored andcommitted
Fixes djpeg load test
* Test fails with `libjpeg-turbo` and `libjpeg-progs` on Ubuntu 16.04 * Epsilon reported is 4.18...
1 parent 9174a45 commit a4721d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/test_file_jpeg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def test_qtables(self):
494494
def test_load_djpeg(self):
495495
with Image.open(TEST_FILE) as img:
496496
img.load_djpeg()
497-
assert_image_similar(img, Image.open(TEST_FILE), 0)
497+
assert_image_similar(img, Image.open(TEST_FILE), 5)
498498

499499
@unittest.skipUnless(cjpeg_available(), "cjpeg not available")
500500
def test_save_cjpeg(self):

0 commit comments

Comments
 (0)