MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / test_subprocess_co

Function test_subprocess_co

tests/test_loop.py:18–25  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

16 sys.platform in ("android", "ios"), reason="subprocess not supported"
17)
18async def test_subprocess_co(loop) -> None:
19 proc = await asyncio.create_subprocess_shell(
20 "exit 0",
21 stdin=asyncio.subprocess.DEVNULL,
22 stdout=asyncio.subprocess.DEVNULL,
23 stderr=asyncio.subprocess.DEVNULL,
24 )
25 await proc.wait()
26
27
28class TestCase(AioHTTPTestCase):

Callers 1

targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected