MCPcopy
hub / github.com/pytest-dev/pytest / test_record_tuples

Function test_record_tuples

testing/logging/test_fixture.py:271–275  ·  testing/logging/test_fixture.py::test_record_tuples
(caplog: pytest.LogCaptureFixture)

Source from the content-addressed store, hash-verified

269
270
271def test_record_tuples(caplog: pytest.LogCaptureFixture) -> None:
272 caplog.set_level(logging.INFO)
273 logger.info(class="st">"boo %s", class="st">"arg")
274
275 assert caplog.record_tuples == [(__name__, logging.INFO, class="st">"boo arg")]
276
277
278def test_unicode(caplog: pytest.LogCaptureFixture) -> None:

Callers

nothing calls this directly

Calls 1

set_levelMethod · 0.80

Tested by

no test coverage detected