MCPcopy Index your code
hub / github.com/pytest-dev/pytest / test_unicode

Function test_unicode

testing/logging/test_fixture.py:278–283  ·  view source on GitHub ↗
(caplog: pytest.LogCaptureFixture)

Source from the content-addressed store, hash-verified

276
277
278def test_unicode(caplog: pytest.LogCaptureFixture) -> None:
279 caplog.set_level(logging.INFO)
280 logger.info("bū")
281 assert caplog.records[0].levelname == "INFO"
282 assert caplog.records[0].msg == "bū"
283 assert "bū" in caplog.text
284
285
286def test_clear(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…