MCPcopy
hub / github.com/aio-libs/aiohttp / f

Method f

tests/test_connector.py:514–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512
513 @asyncio.coroutine
514 def f():
515 nonlocal acquired
516 connection2 = yield from conn.connect(Req())
517 acquired = True
518 self.assertEqual(1, len(conn._acquired[key]))
519 connection2.release()
520
521 task = asyncio.async(f(), loop=self.loop)
522

Callers

nothing calls this directly

Calls 5

ReqClass · 0.85
fFunction · 0.85
waitMethod · 0.80
connectMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected