Skip to content

Commit

Permalink
tests/: update test_1645() to match recent mupdf master.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed May 8, 2024
1 parent 2ceb2e1 commit f8456ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added tests/resources/test_1645_expected_1.25.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion tests/test_annots.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def test_1645():
'''
path_in = os.path.abspath( f'{__file__}/../resources/symbol-list.pdf')

if pymupdf.mupdf_version_tuple >= (1, 24, 2):
if pymupdf.mupdf_version_tuple >= (1, 25):
path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected_1.25.pdf')
elif pymupdf.mupdf_version_tuple >= (1, 24, 2):
path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected_1.24.2.pdf')
elif pymupdf.mupdf_version_tuple >= (1, 24):
path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected_1.24.pdf')
Expand Down

0 comments on commit f8456ba

Please sign in to comment.