(
exc_group: BaseExceptionGroup[E],
)
| 331 | |
| 332 | |
| 333 | def flatten_exception_group( |
| 334 | exc_group: BaseExceptionGroup[E], |
| 335 | ) -> Generator[E, None, None]: |
| 336 | for exc in exc_group.exceptions: |
| 337 | if isinstance(exc, BaseExceptionGroup): |
| 338 | yield from flatten_exception_group(exc) |
| 339 | else: |
| 340 | yield exc |
| 341 | |
| 342 | |
| 343 | def get_name(obj: Any) -> str: |
no outgoing calls
no test coverage detected