(args, **kwargs)
| 444 | runs: list[_StartedRun] = [] |
| 445 | |
| 446 | def fake_popen(args, **kwargs): |
| 447 | if args != RUN_ARGV: |
| 448 | return real_popen(args, **kwargs) |
| 449 | runs.append(_StartedRun(args, kwargs, returncode, interrupts)) |
| 450 | return runs[-1] |
| 451 | |
| 452 | monkeypatch.setattr(subprocess, "Popen", fake_popen) |
| 453 | return runs |
nothing calls this directly
no test coverage detected