From 3142824babc77f239c858ab9ab42f629c96fc2c5 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 17 Jul 2018 16:46:28 +0200 Subject: [PATCH] src/tests/__init__.py: do not test animation.gif with pdfrw because it doesn't support hexadecimal palette data --- src/tests/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests/__init__.py b/src/tests/__init__.py index 833cfbd..00426be 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -471,6 +471,10 @@ def test_suite(): files = os.listdir(os.path.join(HERE, "input")) for with_pdfrw, test_name in [(a, b) for a in [True, False] 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) if not os.path.isfile(inputf): continue