MCPcopy Create free account
hub / github.com/ArcadeAI/arcade-mcp / _patch_win32_ctrl_break

Function _patch_win32_ctrl_break

libs/tests/cli/test_windows_subprocess.py:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54@contextmanager
55def _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# ---------------------------------------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected