(tmp_path)
| 43 | |
| 44 | |
| 45 | def _build(tmp_path): |
| 46 | (tmp_path / "dispatch.py").write_text(SRC) |
| 47 | r = extract_python(tmp_path / "dispatch.py") |
| 48 | nid = {n["label"].rstrip("()"): n["id"] for n in r["nodes"]} # labels are "handler()" |
| 49 | return r, nid |
| 50 | |
| 51 | |
| 52 | def _rels(r, relation): |
no test coverage detected