MCPcopy Create free account
hub / github.com/hynek/structlog / test_no_renderer

Method test_no_renderer

tests/test_stdlib.py:1408–1413  ·  view source on GitHub ↗

Passing neither processor nor processors raises a TypeError.

(self)

Source from the content-addressed store, hash-verified

1406 ProcessorFormatter(processor=1, processors=[1])
1407
1408 def test_no_renderer(self):
1409 """
1410 Passing neither processor nor processors raises a TypeError.
1411 """
1412 with pytest.raises(TypeError, match="must be passed"):
1413 ProcessorFormatter()
1414
1415 def test_remove_processors_meta(self):
1416 """

Callers

nothing calls this directly

Calls 1

ProcessorFormatterClass · 0.90

Tested by

no test coverage detected