From d50df4548a5ab021df8298c0d5c987be9ebf68c5 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Tue, 24 Mar 2026 10:20:42 +0000 Subject: [PATCH] tests/test_pixmap.py: fix test_4435() with latest mupdf master. --- tests/test_pixmap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_pixmap.py b/tests/test_pixmap.py index 921e7bcfe..81c764cb1 100644 --- a/tests/test_pixmap.py +++ b/tests/test_pixmap.py @@ -544,6 +544,9 @@ def test_4435(): print(f'Called page.get_pixmap().', flush=1) if pymupdf.mupdf_version_tuple < (1, 27): assert pymupdf.TOOLS.mupdf_warnings() == 'bogus font ascent/descent values (0 / 0)\n... repeated 9 times...' + elif pymupdf.mupdf_version_tuple >= (1, 28, 0): + wt_expected = ('limit error: Overly large image\ncannot render glyph\n' * 42).rstrip() + assert pymupdf.TOOLS.mupdf_warnings() == wt_expected def test_4423():