Skip to content

Commit bfe0781

Browse files
tests/test_font.py: test_4457(): update to match updated mupdf 1.26.x.
Cherr-pick of MuPDF master commit 05df7a13234aca146bc341a6240cd367732c8265 `Bug 708660: Fix mistake in renumbering objects when saving.` gives 100% correct behaviour, with rms_after==0.
1 parent 44047a5 commit bfe0781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_font.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def test_4457():
318318
assert text_before == text
319319
assert rms_before == 0
320320

321-
if pymupdf.mupdf_version_tuple >= (1, 27):
321+
if pymupdf.mupdf_version_tuple >= (1, 26, 6):
322322
assert rms_after == 0
323323
else:
324324
# As of 2025-05-20 there are some differences in some characters,

0 commit comments

Comments
 (0)