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

Method _callCleanup

Lib/unittest/async_case.py:114–115  ·  view source on GitHub ↗
(self, function, *args, **kwargs)

Source from the content-addressed store, hash-verified

112 self._asyncioTestContext.run(self.tearDown)
113
114 def _callCleanup(self, function, *args, **kwargs):
115 self._callMaybeAsync(function, *args, **kwargs)
116
117 def _callAsync(self, func, /, *args, **kwargs):
118 assert self._asyncioRunner is not None, 'asyncio runner is not initialized'

Callers

nothing calls this directly

Calls 1

_callMaybeAsyncMethod · 0.95

Tested by

no test coverage detected