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 | |
| 278 | def 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 | |
| 286 | def test_clear(caplog: pytest.LogCaptureFixture) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected