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

Function test_invalid_sink

tests/test_add_sinks.py:238–240  ·  view source on GitHub ↗
(sink)

Source from the content-addressed store, hash-verified

236
237@pytest.mark.parametrize("sink", [123, sys, object(), int])
238def test_invalid_sink(sink):
239 with pytest.raises(TypeError):
240 log(sink, "")
241
242
243def test_deprecated_start_and_stop(writer):

Callers

nothing calls this directly

Calls 1

logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…