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

Method setUp

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

Source from the content-addressed store, hash-verified

3706
3707class SleepTests(test_utils.TestCase):
3708 def setUp(self):
3709 super().setUp()
3710 self.loop = asyncio.new_event_loop()
3711 self.set_event_loop(self.loop)
3712
3713 def tearDown(self):
3714 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