From 9f74740c959e59b812c90120281d92432ae7194a Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> Date: Sat, 15 Feb 2025 07:59:26 +0100 Subject: [PATCH] src/img2pdf_test.py: test_miff_cmyk8 now compares exactly --- src/img2pdf_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/img2pdf_test.py b/src/img2pdf_test.py index 83d8f99..1e4ef1b 100755 --- a/src/img2pdf_test.py +++ b/src/img2pdf_test.py @@ -6427,11 +6427,9 @@ def test_tiff_ccitt_nometa2( ) def test_miff_cmyk8(tmp_path_factory, miff_cmyk8_img, tiff_cmyk8_img, miff_cmyk8_pdf): tmpdir = tmp_path_factory.mktemp("miff_cmyk8") - compare_ghostscript( - tmpdir, tiff_cmyk8_img, miff_cmyk8_pdf, gsdevice="tiff32nc", exact=False - ) + compare_ghostscript(tmpdir, tiff_cmyk8_img, miff_cmyk8_pdf, gsdevice="tiff32nc") # not testing with poppler as it cannot write CMYK images - compare_mupdf(tmpdir, tiff_cmyk8_img, miff_cmyk8_pdf, exact=False, cmyk=True) + compare_mupdf(tmpdir, tiff_cmyk8_img, miff_cmyk8_pdf, cmyk=True) compare_pdfimages_tiff(tmpdir, tiff_cmyk8_img, miff_cmyk8_pdf)