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

Class A

tests/test_add_sinks.py:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106@repetitions
107def test_file_object_sink(rep):
108 class A:
109 def __init__(self):
110 self.out = ""
111
112 def write(self, m):
113 self.out += m
114
115 a = A()
116 log(a, rep)

Callers 2

test_file_object_sinkFunction · 0.70
test_flushFunction · 0.70

Calls

no outgoing calls

Tested by 2

test_file_object_sinkFunction · 0.56
test_flushFunction · 0.56