MCPcopy Index your code
hub / github.com/python/cpython / connect

Method connect

Lib/test/test_asyncio/test_events.py:2264–2267  ·  view source on GitHub ↗
(**kwds)

Source from the content-addressed store, hash-verified

2262 @support.requires_subprocess()
2263 def test_subprocess_exec_invalid_args(self):
2264 async def connect(**kwds):
2265 await self.loop.subprocess_exec(
2266 asyncio.SubprocessProtocol,
2267 'pwd', **kwds)
2268
2269 with self.assertRaises(ValueError):
2270 self.loop.run_until_complete(connect(universal_newlines=True))

Callers

nothing calls this directly

Calls 2

subprocess_execMethod · 0.45
subprocess_shellMethod · 0.45

Tested by

no test coverage detected