Skip to content

Commit 0becd27

Browse files
committed
tests/test_story.py: test_2753(): fix expected output with mupdf 1.27.x.
1 parent 584616a commit 0becd27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_story.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ def make_pdf(html, path_out):
6666
)
6767

6868
assert len(doc_before) == 2
69-
assert len(doc_after) == 2
69+
if pymupdf.mupdf_version_tuple >= (1, 27):
70+
assert len(doc_after) == 3
71+
else:
72+
assert len(doc_after) == 2
7073

7174
# codespell:ignore-begin
7275
springer_html = '''

0 commit comments

Comments
 (0)