We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10798cd commit c7e0800Copy full SHA for c7e0800
tests/test_general.py
@@ -420,8 +420,8 @@ def test_2238():
420
wt_expected += 'trying to repair broken xref\n'
421
wt_expected += 'repairing PDF document'
422
assert wt == wt_expected, f'{wt=}'
423
- first_page = doc.load_page(0).get_text('text', pymupdf.INFINITE_RECT())
424
- last_page = doc.load_page(-1).get_text('text', pymupdf.INFINITE_RECT())
+ first_page = doc.load_page(0).get_text('text', clip=pymupdf.INFINITE_RECT())
+ last_page = doc.load_page(-1).get_text('text', clip=pymupdf.INFINITE_RECT())
425
426
print(f'first_page={first_page!r}')
427
print(f'last_page={last_page!r}')
0 commit comments