tqdm/tests/tests_notebook.py

9 lines
297 B
Python
Raw Normal View History

2020-02-16 15:04:46 +00:00
from tqdm.notebook import tqdm as tqdm_notebook
from .tests_tqdm import pretest_posttest # NOQA
2020-02-16 15:04:46 +00:00
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")