(match: Match[str])
| 37 | |
| 38 | @contextlib.contextmanager |
| 39 | def _collect_error(match: Match[str]) -> Generator[None, None, None]: |
| 40 | try: |
| 41 | yield |
| 42 | except Exception as e: |
| 43 | errors.append(CodeBlockError(match.start(), e)) |
| 44 | |
| 45 | def _md_match(match: Match[str]) -> str: |
| 46 | code = textwrap.dedent(match["code"]) |
no test coverage detected