()
| 56 | raised: list[BaseException] = [] |
| 57 | |
| 58 | def run() -> None: |
| 59 | try: |
| 60 | call() |
| 61 | except Exception as error: # handed to the caller, which asserts on it |
| 62 | raised.append(error) |
| 63 | |
| 64 | thread = threading.Thread(target=run, daemon=True) |
| 65 | thread.start() |