()
| 343 | |
| 344 | |
| 345 | def test_3594(): |
| 346 | verbose = 0 |
| 347 | print() |
| 348 | d = pymupdf.open(os.path.abspath(f'{__file__}/../../tests/resources/test_3594.pdf')) |
| 349 | for i, p in enumerate(d.pages()): |
| 350 | text = p.get_text() |
| 351 | print(f'Page {i}:') |
| 352 | if verbose: |
| 353 | for line in text.split('\n'): |
| 354 | print(f' {line!r}') |
| 355 | print('='*40) |
| 356 | wt = pymupdf.TOOLS.mupdf_warnings() |
| 357 | if pymupdf.mupdf_version_tuple < (1, 26, 8): |
| 358 | assert not wt |
| 359 | else: |
| 360 | assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n... repeated 2 times...' |
| 361 | |
| 362 | |
| 363 | def test_3687(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…