Skip to content

Commit

Permalink
fix test_mupdf_regressions version check for bug 707727
Browse files Browse the repository at this point in the history
Bug 707727 is fixed in mupdf's master branch, not in the release branch
and in particular not in 1.24.1. So adjust the check, assuming that the
fix will be backported to 1.24.2
  • Loading branch information
mjg authored and JorjMcKie committed May 1, 2024
1 parent 607cfc3 commit 6977ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mupdf_regressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_707727():
page = doc.reload_page(page) # required to prevent re-use
pix1 = page.get_pixmap()
ok = pix0.samples == pix1.samples
if fitz.mupdf_version_tuple >= (1, 24, 1):
if fitz.mupdf_version_tuple > (1, 24, 1):
assert ok
else:
assert not ok
Expand Down

0 comments on commit 6977ffc

Please sign in to comment.