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

Method setUp

Lib/test/test_asyncio/test_unix_events.py:1114–1116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1112class TestFunctional(unittest.TestCase):
1113
1114 def setUp(self):
1115 self.loop = asyncio.new_event_loop()
1116 asyncio.set_event_loop(self.loop)
1117
1118 def tearDown(self):
1119 self.loop.close()

Callers 5

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

Calls 2

new_event_loopMethod · 0.45
set_event_loopMethod · 0.45

Tested by

no test coverage detected