(process: anyio.abc.Process | FallbackProcess)
| 59 | terminated: list[anyio.abc.Process | FallbackProcess] = [] |
| 60 | |
| 61 | async def recording_terminate(process: anyio.abc.Process | FallbackProcess) -> None: |
| 62 | terminated.append(process) |
| 63 | await _terminate_process_tree(process) |
| 64 | |
| 65 | monkeypatch.setattr(stdio, "_terminate_process_tree", recording_terminate) |
| 66 | return terminated |
nothing calls this directly
no test coverage detected