tqdm/tests/tests_notebook.py

8 lines
248 B
Python
Raw Normal View History

2020-02-16 15:04:46 +00:00
from tqdm.notebook import tqdm as tqdm_notebook
2020-10-24 18:36:45 +00:00
def test_notebook_disabled_description():
"""Test that set_description works for disabled tqdm_notebook"""
with tqdm_notebook(1, disable=True) as t:
t.set_description("description")