MCPcopy
hub / github.com/urllib3/urllib3 / __enter__

Method __enter__

test/__init__.py:245–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 self._target.removeHandler(self._handler)
244
245 def __enter__(self) -> list[logging.LogRecord]:
246 self.install()
247 return self.records
248
249 def __exit__(
250 self,

Callers

nothing calls this directly

Calls 1

installMethod · 0.95

Tested by

no test coverage detected