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

Method test_processor_and_processors

tests/test_stdlib.py:1401–1406  ·  view source on GitHub ↗

Passing both processor and processors raises a TypeError.

(self)

Source from the content-addressed store, hash-verified

1399 ) == capsys.readouterr()
1400
1401 def test_processor_and_processors(self):
1402 """
1403 Passing both processor and processors raises a TypeError.
1404 """
1405 with pytest.raises(TypeError, match="mutually exclusive"):
1406 ProcessorFormatter(processor=1, processors=[1])
1407
1408 def test_no_renderer(self):
1409 """

Callers

nothing calls this directly

Calls 1

ProcessorFormatterClass · 0.90

Tested by

no test coverage detected