mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Checked complete length of value
This commit is contained in:
parent
4dc195333e
commit
a1d8d638bf
|
@ -459,7 +459,7 @@ class TestFileJpeg:
|
||||||
# valid bounds for baseline qtable
|
# valid bounds for baseline qtable
|
||||||
bounds_qtable = [int(s) for s in ("255 1 " * 32).split(None)]
|
bounds_qtable = [int(s) for s in ("255 1 " * 32).split(None)]
|
||||||
im2 = self.roundtrip(im, qtables=[bounds_qtable])
|
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.
|
# values from wizard.txt in jpeg9-a src package.
|
||||||
standard_l_qtable = [
|
standard_l_qtable = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user