(
out: bool = True, err: bool = True, in_: bool = True
)
| 36 | |
| 37 | |
| 38 | def StdCapture( |
| 39 | out: bool = True, err: bool = True, in_: bool = True |
| 40 | ) -> MultiCapture[str]: |
| 41 | return capture.MultiCapture( |
| 42 | in_=capture.SysCapture(0) if in_ else None, |
| 43 | out=capture.SysCapture(1) if out else None, |
| 44 | err=capture.SysCapture(2) if err else None, |
| 45 | ) |
| 46 | |
| 47 | |
| 48 | def TeeStdCapture( |
no outgoing calls
no test coverage detected