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

Method setUp

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

Source from the content-addressed store, hash-verified

1128 raise NotImplementedError
1129
1130 def setUp(self):
1131 super().setUp()
1132 self.loop = self.new_test_loop()
1133 self.addCleanup(self.loop.close)
1134
1135 def test_inherit_without_calling_super_init(self):
1136 # See https://bugs.python.org/issue38785 for the context

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