MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write_py

Function _write_py

tests/test_rationale.py:9–12  ·  view source on GitHub ↗
(tmp_path: Path, code: str)

Source from the content-addressed store, hash-verified

7
8
9def _write_py(tmp_path: Path, code: str) -> Path:
10 p = tmp_path / "sample.py"
11 p.write_text(textwrap.dedent(code))
12 return p
13
14
15def test_module_docstring_extracted(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected