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

Function run_test_server

Lib/test/test_asyncio/utils.py:265–268  ·  view source on GitHub ↗
(*, host='127.0.0.1', port=0, use_ssl=False)

Source from the content-addressed store, hash-verified

263
264@contextlib.contextmanager
265def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):
266 yield from _run_test_server(address=(host, port), use_ssl=use_ssl,
267 server_cls=SilentWSGIServer,
268 server_ssl_cls=SSLWSGIServer)
269
270
271def echo_datagrams(sock):

Callers

nothing calls this directly

Calls 1

_run_test_serverFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…