(caplog, capsys)
| 5 | |
| 6 | |
| 7 | def test_quiet_logging(caplog, capsys): |
| 8 | with caplog.at_level(logging.CRITICAL, logger="dvc"): |
| 9 | for _ in Tqdm(range(10)): |
| 10 | pass |
| 11 | out_err = capsys.readouterr() |
| 12 | assert not out_err.out |
| 13 | assert not out_err.err |
| 14 | |
| 15 | |
| 16 | def test_quiet_logging_disable_false(caplog, capsys, mocker): |