MCPcopy Create free account
hub / github.com/IBM/mcp-cli / capture_handler

Method capture_handler

tests/cli/test_main_coverage.py:1572–1573  ·  view source on GitHub ↗
(sig, handler)

Source from the content-addressed store, hash-verified

1570 handlers = {}
1571
1572 def capture_handler(sig, handler):
1573 handlers[sig] = handler
1574
1575 with patch("signal.signal", side_effect=capture_handler):
1576 _setup_signal_handlers()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected