try ghostscript version shaningans

This commit is contained in:
Johannes 'josch' Schauer 2020-08-05 00:10:00 +02:00
parent f0e7e8daaf
commit d92790ad26
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
language: python
matrix:
include:
- name: "Ubuntu Xenial"
dist: xenial
- name: "Ubuntu Bionic"
dist: bionic
addons:
apt:
packages:

View file

@ -4046,7 +4046,7 @@ def test_tiff_float(tmp_path_factory, tiff_float_img, engine):
def test_tiff_cmyk8(tmp_path_factory, tiff_cmyk8_img, tiff_cmyk8_pdf):
tmpdir = tmp_path_factory.mktemp("tiff_cmyk8")
compare_ghostscript(
tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, gsdevice="tiff32nc", exact=False
tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, gsdevice="tiff32nc", exact=True
)
# not testing with poppler as it cannot write CMYK images
compare_mupdf(tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, exact=False, cmyk=True)
@ -4477,7 +4477,7 @@ def test_tiff_ccitt_nometa2(
):
tmpdir = tmp_path_factory.mktemp("tiff_ccitt_nometa2")
compare_ghostscript(
tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf, gsdevice="pnggray"
tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf, gsdevice="pnggray", exact=False
)
compare_poppler(tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf)
compare_mupdf(tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf)