Skip to content

Commit

Permalink
tests/test_general.py: fixed failure with mupdf-1.24.x branch.
Browse files Browse the repository at this point in the history
In test_bboxlog_2885(), we fix expectations for mupdf-1.24.9.
  • Loading branch information
julian-smith-artifex-com committed Aug 23, 2024
1 parent 9bfc7ed commit 415cdc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,12 +873,12 @@ def test_bboxlog_2885():
page=doc[0]

bbl = page.get_bboxlog()
if pymupdf.mupdf_version_tuple >= (1, 25):
if pymupdf.mupdf_version_tuple >= (1, 24, 9):
wt = pymupdf.TOOLS.mupdf_warnings()
assert wt == 'invalid marked content and clip nesting'

bbl = page.get_bboxlog(layers=True)
if pymupdf.mupdf_version_tuple >= (1, 25):
if pymupdf.mupdf_version_tuple >= (1, 24, 9):
wt = pymupdf.TOOLS.mupdf_warnings()
assert wt == 'invalid marked content and clip nesting'

Expand Down

0 comments on commit 415cdc6

Please sign in to comment.