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

Function test_drawings1

tests/test_drawings.py:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16
17def test_drawings1():
18 symbols_text = open(symbols).read() # expected result
19 doc = pymupdf.open(filename)
20 page = doc[0]
21 paths = page.get_cdrawings()
22 out = io.StringIO() # pprint output goes here
23 pprint.pprint(paths, stream=out)
24 assert symbols_text == out.getvalue()
25
26
27def test_drawings2():

Callers

nothing calls this directly

Calls 1

get_cdrawingsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…