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

Class BadStream

Lib/test/test_logging.py:818–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816
817
818class BadStream(object):
819 def write(self, data):
820 raise RuntimeError('deliberate mistake')
821
822class TestStreamHandler(logging.StreamHandler):
823 def handleError(self, record):

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…