File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,8 +356,10 @@ def test_3594():
356356 wt = pymupdf .TOOLS .mupdf_warnings ()
357357 if pymupdf .mupdf_version_tuple < (1 , 26 , 8 ):
358358 assert not wt
359- else :
359+ elif pymupdf . mupdf_version_tuple < ( 1 , 28 ) :
360360 assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n ... repeated 2 times...'
361+ else :
362+ assert wt == 'ActualText with no position. Text may be lost or mispositioned.\n ... repeated 2 times...'
361363
362364
363365def test_3687 ():
@@ -905,7 +907,10 @@ def test_4546():
905907 wt = pymupdf .TOOLS .mupdf_warnings ()
906908 if pymupdf .mupdf_version_tuple >= (1 , 26 , 8 ):
907909 assert text == expected_mupdf_1_27_0
908- assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n ... repeated 120 times...'
910+ if pymupdf .mupdf_version_tuple >= (1 , 28 ):
911+ assert wt == 'ActualText with no position. Text may be lost or mispositioned.\n ... repeated 120 times...'
912+ else :
913+ assert wt == 'Actualtext with no position. Text may be lost or mispositioned.\n ... repeated 120 times...'
909914 elif pymupdf .mupdf_version_tuple >= (1 , 26 , 1 ):
910915 assert text == expected_mupdf_1_26_1
911916 assert not wt
You can’t perform that action at this time.
0 commit comments