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

Method boom

tests/apps/test_bridge.py:595–598  ·  view source on GitHub ↗
(coro)

Source from the content-addressed store, hash-verified

593 bridge._ws = old_ws # set an old WS directly (no loop needed)
594
595 def boom(coro):
596 # Close the coroutine to avoid RuntimeWarning
597 coro.close()
598 raise RuntimeError("no running loop")
599
600 monkeypatch.setattr(asyncio, "ensure_future", boom)
601

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected