Skip to content

Commit cc81a38

Browse files
tests/test_textextract.py: test_3705(): update to match latest mupdf master.
1 parent c2e3271 commit cc81a38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_textextract.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,9 @@ def get_all_page_from_pdf(document, last_page=None):
374374

375375
assert texts1 == texts0
376376

377-
wt = pymupdf.TOOLS.mupdf_warnings()
378-
assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n... repeated 434 times...'
377+
if pymupdf.mupdf_version_tuple < (1, 27):
378+
wt = pymupdf.TOOLS.mupdf_warnings()
379+
assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n... repeated 434 times...'
379380

380381
def test_3650():
381382
path = os.path.normpath(f'{__file__}/../../tests/resources/test_3650.pdf')

0 commit comments

Comments
 (0)