src/tests/__init__.py: do not test animation.gif with pdfrw because it doesn't support hexadecimal palette data

This commit is contained in:
Johannes 'josch' Schauer 2018-07-17 16:46:28 +02:00
parent 84ce9bbd9c
commit 3142824bab
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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