MCPcopy Create free account
hub / github.com/github/copilot-sdk / _dispose_isolated

Function _dispose_isolated

python/e2e/test_rpc_server_plugins_e2e.py:105–112  ·  view source on GitHub ↗
(client: CopilotClient, home: Path, fixture_dir: Path | None)

Source from the content-addressed store, hash-verified

103
104
105async def _dispose_isolated(client: CopilotClient, home: Path, fixture_dir: Path | None) -> None:
106 with contextlib.suppress(ExceptionGroup):
107 await client.stop()
108 with contextlib.suppress(OSError):
109 shutil.rmtree(home, ignore_errors=True)
110 if fixture_dir is not None:
111 with contextlib.suppress(OSError):
112 shutil.rmtree(fixture_dir, ignore_errors=True)
113
114
115class TestRpcServerPlugins:

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…