Skip to content

Commit

Permalink
tests/README.md: added a note about test failure with non-default bui…
Browse files Browse the repository at this point in the history
…ld of MuPDF.
  • Loading branch information
julian-smith-artifex-com committed Nov 14, 2022
1 parent a517a98 commit 970663b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/README.md
Expand Up @@ -79,3 +79,13 @@ TOTAL 6714 1422 79%
============================ 79 passed in 5.76s ==============================
```

## Known test failure with non-default build of MuPDF

If PyMuPDF has been built with a non-default build of MuPDF (using
environmental variable ``PYMUPDF_SETUP_MUPDF_BUILD``), it is possible that
``tests/test_textbox.py:test_textbox3()`` will fail, because it relies on MuPDF
having been built with PyMuPDF's customized configuration, ``fitz/_config.h``.

One can skip this particular test by adding ``-k 'not test_textbox3'`` to the
pytest command line.

0 comments on commit 970663b

Please sign in to comment.