src/img2pdf_test.py: skip test_tiff_float on s390x because of https://github.com/ImageMagick/ImageMagick/issues/8054

This commit is contained in:
Johannes Schauer Marin Rodrigues 2025-03-23 00:06:55 +01:00
parent 59132f20f8
commit c6d12d6239
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

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