Skip to content

Commit 2bf1deb

Browse files
tests/: test_1645(): cope with slightly different output from mupdf master.
1 parent 2f7fb91 commit 2bf1deb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
2.54 KB
Binary file not shown.

tests/test_annots.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ def test_1645():
173173
Test fix for #1645.
174174
'''
175175
path_in = os.path.abspath( f'{__file__}/../resources/symbol-list.pdf')
176-
if fitz.mupdf_version_tuple[:2] >= (1, 22):
176+
177+
if fitz.mupdf_version_tuple[:2] >= (1, 24):
178+
path_expected = os.path.abspath( f'{__file__}/../resources/test_1645_expected_1.24.pdf')
179+
elif fitz.mupdf_version_tuple[:2] >= (1, 22):
177180
path_expected = os.path.abspath( f'{__file__}/../resources/test_1645_expected_1.22.pdf')
178181
else:
179182
path_expected = os.path.abspath( f'{__file__}/../resources/test_1645_expected.pdf')

0 commit comments

Comments
 (0)