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

Function read

tests/test_general.py:1149–1151  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1147 path_err = os.path.abspath(f'{__file__}/../../tests/test_cli_out.err')
1148 check('', regex_gil_stderr, f'path:{path_out}', f'path:{path_err}')
1149 def read(path):
1150 with open(path) as f:
1151 return f.read()
1152 out = read(path_out)
1153 err = read(path_err)
1154 check_lines(['This is from PyMuPDF message[(][)][.]'], out)

Callers 1

test_cli_outFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…