You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use slimmed down rectangle containment checks and avoid expensive text extractions.
Function test_2979() will no longer show the tail of error messages, because of the avoided text extractions.
Copy file name to clipboardExpand all lines: tests/test_tables.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -184,12 +184,7 @@ def test_2979():
184
184
), f"{pymupdf.TOOLS.set_small_glyph_heights()=}"
185
185
186
186
wt=pymupdf.TOOLS.mupdf_warnings()
187
-
ifpymupdf.mupdf_version_tuple>= (1, 26, 8):
188
-
assert (
189
-
wt
190
-
=="bogus font ascent/descent values (3117 / -2463)\n... repeated 2 times...\nActualtext with no position. Text may be lost or mispositioned.\n... repeated 96 times..."
191
-
)
192
-
elifpymupdf.mupdf_version_tuple>= (1, 26, 0):
187
+
ifpymupdf.mupdf_version_tuple>= (1, 26, 0):
193
188
assert (
194
189
wt
195
190
=="bogus font ascent/descent values (3117 / -2463)\n... repeated 2 times..."
0 commit comments