MCPcopy Create free account
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

3749 # and async/await syntax
3750
3751 def setUp(self):
3752 super().setUp()
3753 self.loop = asyncio.new_event_loop()
3754 self.set_event_loop(self.loop)
3755
3756 def tearDown(self):
3757 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