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

Method setUp

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

Source from the content-addressed store, hash-verified

3717
3718class SleepTests(test_utils.TestCase):
3719 def setUp(self):
3720 super().setUp()
3721 self.loop = asyncio.new_event_loop()
3722 self.set_event_loop(self.loop)
3723
3724 def tearDown(self):
3725 self.loop.close()

Callers 5

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 3

superClass · 0.85
new_event_loopMethod · 0.45
set_event_loopMethod · 0.45

Tested by

no test coverage detected