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 024872a commit bc65105Copy full SHA for bc65105
tests/resources/test_1645_expected-after-1.27.0.pdf
2.62 KB
tests/test_annots.py
@@ -236,7 +236,10 @@ def test_1645():
236
pymupdf.TOOLS.set_annot_stem('jorj')
237
try:
238
path_in = os.path.abspath( f'{__file__}/../resources/symbol-list.pdf')
239
- path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected.pdf')
+ if pymupdf.mupdf_version_tuple >= (1, 27):
240
+ path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected-after-1.27.0.pdf')
241
+ else:
242
+ path_expected = os.path.abspath( f'{__file__}/../../tests/resources/test_1645_expected.pdf')
243
path_out = os.path.abspath( f'{__file__}/../test_1645_out.pdf')
244
doc = pymupdf.open(path_in)
245
page = doc[0]
0 commit comments