mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #4290 from bluepython508/fix_djpeg_load_test
Fixes djpeg load test
This commit is contained in:
commit
df886ed386
|
@ -500,7 +500,7 @@ class TestFileJpeg:
|
|||
def test_load_djpeg(self):
|
||||
with Image.open(TEST_FILE) as img:
|
||||
img.load_djpeg()
|
||||
assert_image_similar(img, Image.open(TEST_FILE), 0)
|
||||
assert_image_similar(img, Image.open(TEST_FILE), 5)
|
||||
|
||||
@pytest.mark.skipif(not cjpeg_available(), reason="cjpeg not available")
|
||||
def test_save_cjpeg(self, tmp_path):
|
||||
|
|
Loading…
Reference in New Issue
Block a user