MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_record_tuples

Function test_record_tuples

testing/logging/test_fixture.py:129–133  ·  view source on GitHub ↗
(caplog)

Source from the content-addressed store, hash-verified

127
128
129def test_record_tuples(caplog):
130 caplog.set_level(logging.INFO)
131 logger.info("boo %s", "arg")
132
133 assert caplog.record_tuples == [(__name__, logging.INFO, "boo arg")]
134
135
136def test_unicode(caplog):

Callers

nothing calls this directly

Calls 1

set_levelMethod · 0.80

Tested by

no test coverage detected