You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/tqdm/tests/tests_notebook.py

10 lines
332 B

from tqdm.notebook import tqdm as tqdm_notebook
from tests_tqdm import with_setup, pretest, posttest
@with_setup(pretest, posttest)
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")