()
| 108 | # GraalPy resets __context__ when contextlib throws into the suspended generator, losing the chained cause. |
| 109 | @contextmanager |
| 110 | def probe() -> Iterator[None]: |
| 111 | yield |
| 112 | |
| 113 | error = KeyError("thrown") |
| 114 | error.__context__ = ValueError("context") |
no outgoing calls
no test coverage detected