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

Class TestStreamHandler

Lib/test/test_logging.py:822–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820 raise RuntimeError('deliberate mistake')
821
822class TestStreamHandler(logging.StreamHandler):
823 def handleError(self, record):
824 self.error_record = record
825
826class StreamWithIntName(object):
827 level = logging.NOTSET

Callers 1

test_error_handlingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_error_handlingMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…