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

Function test_3070

tests/test_general.py:887–892  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

885
886
887def test_3070():
888 with pymupdf.open(os.path.abspath(f'{__file__}/../../tests/resources/test_3070.pdf')) as pdf:
889 links = pdf[0].get_links()
890 links[0]['uri'] = "https://www.ddg.gg"
891 pdf[0].update_link(links[0])
892 pdf.save(os.path.abspath(f'{__file__}/../../tests/test_3070_out.pdf'))
893
894def test_bboxlog_2885():
895 doc = pymupdf.open(os.path.abspath(f'{__file__}/../../tests/resources/test_2885.pdf'))

Callers

nothing calls this directly

Calls 3

get_linksMethod · 0.80
update_linkMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…