Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1112
class
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
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
Calls
2
new_event_loop
Method · 0.45
set_event_loop
Method · 0.45
Tested by
no test coverage detected