diff --git a/src/img2pdf_test.py b/src/img2pdf_test.py index fbe1420..dea82fd 100755 --- a/src/img2pdf_test.py +++ b/src/img2pdf_test.py @@ -21,6 +21,7 @@ import json import pathlib import itertools import xml.etree.ElementTree as ET +import platform img2pdfprog = os.getenv("img2pdfprog", default="src/img2pdf.py") @@ -5952,6 +5953,10 @@ def test_gif_animation(tmp_path_factory, gif_animation_img, gif_animation_pdf): sys.platform in ["darwin", "win32"], reason="test utilities not available on Windows and MacOS", ) +@pytest.mark.skipif( + platform.machine() == "s390x", + reason="https://github.com/ImageMagick/ImageMagick/issues/8054", +) @pytest.mark.parametrize("engine", ["internal", "pikepdf"]) def test_tiff_float(tmp_path_factory, tiff_float_img, engine): out_pdf = tmp_path_factory.mktemp("tiff_float") / "out.pdf"