We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2b528d commit 564f14dCopy full SHA for 564f14d
1 file changed
tests/test_pixmap.py
@@ -544,6 +544,9 @@ def test_4435():
544
print(f'Called page.get_pixmap().', flush=1)
545
if pymupdf.mupdf_version_tuple < (1, 27):
546
assert pymupdf.TOOLS.mupdf_warnings() == 'bogus font ascent/descent values (0 / 0)\n... repeated 9 times...'
547
+ elif pymupdf.mupdf_version_tuple >= (1, 28, 0):
548
+ wt_expected = ('limit error: Overly large image\ncannot render glyph\n' * 42).rstrip()
549
+ assert pymupdf.TOOLS.mupdf_warnings() == wt_expected
550
551
552
def test_4423():
0 commit comments