()
| 53 | |
| 54 | @contextmanager |
| 55 | def _patch_win32_ctrl_break() -> Iterator[None]: |
| 56 | with ( |
| 57 | patch.object(sys, "platform", "win32"), |
| 58 | patch.object(signal, "CTRL_BREAK_EVENT", WIN_CTRL_BREAK_EVENT, create=True), |
| 59 | ): |
| 60 | yield |
| 61 | |
| 62 | |
| 63 | # --------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected