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

Method setUp

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

Source from the content-addressed store, hash-verified

105class DuckTests(test_utils.TestCase):
106
107 def setUp(self):
108 super().setUp()
109 self.loop = self.new_test_loop()
110 self.addCleanup(self.loop.close)
111
112 def test_wrap_future(self):
113 f = DuckFuture()

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 3

superClass · 0.85
new_test_loopMethod · 0.80
addCleanupMethod · 0.80

Tested by

no test coverage detected