diff --git a/tests/resources/README.rst b/tests/resources/README.rst index 1ab5a51e..5f227c90 100644 --- a/tests/resources/README.rst +++ b/tests/resources/README.rst @@ -58,21 +58,21 @@ under the terms of the license in LICENSE.rst. * - enormous.pdf - @jbarlow83 - very large PDF page + * - epson.pdf + - @lowesjam + - a linearized PDF containing some unusual indirect objects, created by an Epson printer; printout of a Wikipedia article (CC BY-SA) * - francais.pdf - @jbarlow83 - a page containing French accents (diacritics) * - hugemono.pdf - @jbarlow83 - large monochrome 35000x35000 image in JBIG2 encoding - * - indirect_objects.pdf - - @lowesjam - - a linearized PDF containing some unusual indirect objects * - invalid.pdf - @jbarlow83 - a PDF file header followed by EOF marker * - masks.pdf - @supergrobi - - file containing explicit masks and a stencil mask drawn without a proper transformation matrix; printout of a German Wikipedia article (Creative Common BY-SA) + - file containing explicit masks and a stencil mask drawn without a proper transformation matrix; printout of a German Wikipedia article (CC BY-SA) * - missing_docinfo.pdf - @jbarlow83 - PDF file with no /DocumentInfo section diff --git a/tests/resources/epson.pdf b/tests/resources/epson.pdf new file mode 100644 index 00000000..ae488fef Binary files /dev/null and b/tests/resources/epson.pdf differ diff --git a/tests/resources/indirect_objects.pdf b/tests/resources/indirect_objects.pdf deleted file mode 100644 index 3de9a4c5..00000000 Binary files a/tests/resources/indirect_objects.pdf and /dev/null differ diff --git a/tests/test_main.py b/tests/test_main.py index 879ce1ed..b24404bf 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -636,5 +636,5 @@ def test_masks(spoof_tesseract_noop): def test_linearized_pdf_and_indirect_object(spoof_tesseract_noop): check_ocrmypdf( - 'indirect_objects.pdf', 'test_indirect_objects.pdf', + 'epson.pdf', 'test_epson.pdf', env=spoof_tesseract_noop)