def test_tqdm_progress_bar_default_value(tmp_path):
    """Test that a value of None defaults to refresh rate 1."""
    trainer = Trainer(default_root_dir=tmp_path)
    assert trainer.progress_bar_callback.refresh_rate == 1
Test that a value of None defaults to refresh rate 1.
tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py