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

Method handle

Lib/test/test_logging.py:5051–5053  ·  view source on GitHub ↗

Keep track of all the emitted records.

(self, record)

Source from the content-addressed store, hash-verified

5049 self.records = []
5050
5051 def handle(self, record):
5052 """Keep track of all the emitted records."""
5053 self.records.append(record)
5054
5055
5056class ShutdownTest(BaseTest):

Callers 6

test_builtin_handlersMethod · 0.45
test_raceMethod · 0.45
test_error_handlingMethod · 0.45
test_basicMethod · 0.45
test_delayMethod · 0.45
test_basicMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected