(name: str, ok: bool, detail: str = "")
| 12 | |
| 13 | |
| 14 | def _check(name: str, ok: bool, detail: str = "") -> None: |
| 15 | mark = "OK " if ok else "FAIL" |
| 16 | print(f"[{mark}] {name}{(': ' + detail) if detail else ''}") |
| 17 | if not ok: |
| 18 | raise SystemExit(1) |
| 19 | |
| 20 | |
| 21 | def test_extract_code_with_python_fence() -> None: |
no outgoing calls
no test coverage detected