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

Method setUp

Lib/test/test_asyncio/test_tasks.py:3196–3199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3194 current_task = None
3195
3196 def setUp(self):
3197 super().setUp()
3198 self.loop = asyncio.new_event_loop()
3199 self.set_event_loop(self.loop)
3200
3201 def new_task(self, coro):
3202 raise NotImplementedError

Callers

nothing calls this directly

Calls 4

superClass · 0.85
setUpMethod · 0.45
new_event_loopMethod · 0.45
set_event_loopMethod · 0.45

Tested by

no test coverage detected