MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / test_underline

Function test_underline

tests/test_annots.py:66–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65
66def test_underline():
67 doc = pymupdf.open()
68 page = doc.new_page()
69 annot = page.add_underline_annot(rect)
70 assert annot.type == (9, "Underline")
71
72
73def test_squiggly():

Callers

nothing calls this directly

Calls 2

new_pageMethod · 0.80
add_underline_annotMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…