forked from josch/img2pdf
src/tests/__init__.py: do not test animation.gif with pdfrw because it doesn't support hexadecimal palette data
This commit is contained in:
parent
84ce9bbd9c
commit
3142824bab
1 changed files with 4 additions and 0 deletions
|
@ -471,6 +471,10 @@ def test_suite():
|
||||||
files = os.listdir(os.path.join(HERE, "input"))
|
files = os.listdir(os.path.join(HERE, "input"))
|
||||||
for with_pdfrw, test_name in [(a, b) for a in [True, False]
|
for with_pdfrw, test_name in [(a, b) for a in [True, False]
|
||||||
for b in files]:
|
for b in files]:
|
||||||
|
# we do not test animation.gif with pdfrw because it doesn't support
|
||||||
|
# saving hexadecimal palette data
|
||||||
|
if test_name == 'animation.gif' and with_pdfrw:
|
||||||
|
continue
|
||||||
inputf = os.path.join(HERE, "input", test_name)
|
inputf = os.path.join(HERE, "input", test_name)
|
||||||
if not os.path.isfile(inputf):
|
if not os.path.isfile(inputf):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue