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

Function test_unicode

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

Source from the content-addressed store, hash-verified

134
135
136def test_unicode(caplog):
137 caplog.set_level(logging.INFO)
138 logger.info("bū")
139 assert caplog.records[0].levelname == "INFO"
140 assert caplog.records[0].msg == "bū"
141 assert "bū" in caplog.text
142
143
144def test_clear(caplog):

Callers

nothing calls this directly

Calls 1

set_levelMethod · 0.80

Tested by

no test coverage detected