mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 08:30:05 +03:00
Allow slight difference with libjpeg
This commit is contained in:
parent
6938379542
commit
2360d4fd89
|
@ -621,7 +621,13 @@ class TestFileJpeg:
|
|||
|
||||
qtable_from_quality = self.roundtrip(im, quality=quality).quantization
|
||||
|
||||
if features.check_feature("libjpeg_turbo"):
|
||||
assert qtable_from_qtable_quality == qtable_from_quality
|
||||
else:
|
||||
assert qtable_from_qtable_quality[0] == qtable_from_quality[0]
|
||||
assert (
|
||||
qtable_from_qtable_quality[1][1:] == qtable_from_quality[1][1:]
|
||||
)
|
||||
|
||||
# list of qtable lists
|
||||
assert_image_similar(
|
||||
|
|
Loading…
Reference in New Issue
Block a user