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

Method __exit__

test/helpers.py:94–95  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

92 self._enabled = False
93
94 def __exit__(self, exc_type, exc_val, exc_tb):
95 self.disable()
96
97 def __call__(self, func):
98 def make_wrapper(f):

Callers

nothing calls this directly

Calls 1

disableMethod · 0.95

Tested by

no test coverage detected