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