MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / _callCleanup

Method _callCleanup

test/__init__.py:884–885  ·  view source on GitHub ↗
(self, function, *args, **kwargs)

Source from the content-addressed store, hash-verified

882 self.tearDown()
883
884 def _callCleanup(self, function, *args, **kwargs):
885 self._callMaybeAsync(function, *args, **kwargs)
886
887 def _callAsync(self, func, /, *args, **kwargs):
888 assert inspect.iscoroutinefunction(func), f"{func!r} is not an async function"

Callers

nothing calls this directly

Calls 1

_callMaybeAsyncMethod · 0.95

Tested by

no test coverage detected