Skip to content

Commit 29e4b40

Browse files
tests/test_general.py: test_2596(): update for latest mupdf master.
1 parent 03491ca commit 29e4b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def test_2596():
609609
pix1 = page.get_pixmap()
610610
assert pix1.samples == pix0.samples
611611
rebased = hasattr(pymupdf, 'mupdf')
612-
if rebased:
612+
if pymupdf.mupdf_version_tuple < (1, 27):
613613
wt = pymupdf.TOOLS.mupdf_warnings()
614614
assert wt == 'too many indirections (possible indirection cycle involving 24 0 R)'
615615

0 commit comments

Comments
 (0)