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

Method setUp

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

Source from the content-addressed store, hash-verified

3738 # and async/await syntax
3739
3740 def setUp(self):
3741 super().setUp()
3742 self.loop = asyncio.new_event_loop()
3743 self.set_event_loop(self.loop)
3744
3745 def tearDown(self):
3746 self.loop.close()

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