diff --git a/tests/test_general.py b/tests/test_general.py index 777148d7c..8edc8dd8f 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -1927,7 +1927,7 @@ def test_4533(): cp = subprocess.run(command, shell=1, check=0) e = cp.returncode print(f'{e=}') - if pymupdf.mupdf_version_tuple >= (1, 27): + if pymupdf.mupdf_version_tuple >= (1, 26, 6): assert e == 0 else: assert e != 0 diff --git a/tests/test_insertpdf.py b/tests/test_insertpdf.py index e7961b6a0..9689beb8c 100644 --- a/tests/test_insertpdf.py +++ b/tests/test_insertpdf.py @@ -326,7 +326,7 @@ def test_4571(): print(f'Have saved to: {path_out=}') with open(path_out, 'rb') as f: content = f.read() - if pymupdf.mupdf_version_tuple >= (1, 27): + if pymupdf.mupdf_version_tuple >= (1, 26, 6): # Correct. assert b'<>' in content else: diff --git a/tests/test_pixmap.py b/tests/test_pixmap.py index 0fc3a52e0..4c91bcf6c 100644 --- a/tests/test_pixmap.py +++ b/tests/test_pixmap.py @@ -624,7 +624,7 @@ def test_4388(): rms = gentle_compare.pixmaps_rms(pixmap_correct, pixmap_test) print(f'{rms=}') - if pymupdf.mupdf_version_tuple >= (1, 27): + if pymupdf.mupdf_version_tuple >= (1, 26, 6): assert rms == 0 else: assert rms >= 10