(caplog: pytest.LogCaptureFixture)
| 276 | |
| 277 | |
| 278 | def 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 | |
| 286 | def test_clear(caplog: pytest.LogCaptureFixture) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…