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

Function test_record_tuples

testing/logging/test_fixture.py:271–275  ·  view source on GitHub ↗
(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("boo %s", "arg")
274
275 assert caplog.record_tuples == [(__name__, logging.INFO, "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

Used in the wild real call sites across dependent graphs

searching dependent graphs…