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

Method setUp

Lib/test/test_asyncio/test_futures.py:128–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 return self.cls(*args, **kwargs)
127
128 def setUp(self):
129 super().setUp()
130 self.loop = self.new_test_loop()
131 self.addCleanup(self.loop.close)
132
133 def test_generic_alias(self):
134 future = self.cls[str]

Callers

nothing calls this directly

Calls 4

superClass · 0.85
new_test_loopMethod · 0.80
addCleanupMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected