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

Function test_default_loop

tests/test_client_request.py:161–164  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

159
160
161def test_default_loop(loop):
162 asyncio.set_event_loop(loop)
163 req = ClientRequest('get', 'http://python.org/')
164 assert req.loop is loop
165
166
167def test_default_headers_useragent(make_request):

Callers

nothing calls this directly

Calls 1

ClientRequestClass · 0.90

Tested by

no test coverage detected