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

Function test_unicode

testing/logging/test_fixture.py:278–283  ·  testing/logging/test_fixture.py::test_unicode
(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(class="st">"bū")
281 assert caplog.records[0].levelname == class="st">"INFO"
282 assert caplog.records[0].msg == class="st">"bū"
283 assert class="st">"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