MCPcopy
hub / github.com/Delgan/loguru / test_standard_handler_sink

Function test_standard_handler_sink

tests/test_add_sinks.py:121–130  ·  view source on GitHub ↗
(rep)

Source from the content-addressed store, hash-verified

119
120@repetitions
121def test_standard_handler_sink(rep):
122 out = []
123
124 class H(logging.Handler):
125 def emit(self, record):
126 out.append(record.getMessage() + "\n")
127
128 h = H()
129 log(h, rep)
130 assert out == [expected] * rep
131
132
133@repetitions

Callers

nothing calls this directly

Calls 2

HClass · 0.85
logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…