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

Method _setupAsyncioRunner

Lib/unittest/async_case.py:135–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 return self._asyncioTestContext.run(func, *args, **kwargs)
134
135 def _setupAsyncioRunner(self):
136 assert self._asyncioRunner is None, 'asyncio runner is already initialized'
137 runner = asyncio.Runner(debug=True, loop_factory=self.loop_factory)
138 self._asyncioRunner = runner
139
140 def _tearDownAsyncioRunner(self):
141 runner = self._asyncioRunner

Callers 2

runMethod · 0.95
debugMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected