Checked complete length of value

This commit is contained in:
Andrew Murray 2021-06-29 19:41:00 +10:00 committed by GitHub
parent 4dc195333e
commit a1d8d638bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,7 +459,7 @@ class TestFileJpeg:
# valid bounds for baseline qtable
bounds_qtable = [int(s) for s in ("255 1 " * 32).split(None)]
im2 = self.roundtrip(im, qtables=[bounds_qtable])
assert im2.quantization[0] == bounds_qtable
assert im2.quantization == {0: bounds_qtable}
# values from wizard.txt in jpeg9-a src package.
standard_l_qtable = [