summaryrefslogtreecommitdiffstats
path: root/tests/tests_notebook.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests_notebook.py')
-rw-r--r--tests/tests_notebook.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests_notebook.py b/tests/tests_notebook.py
new file mode 100644
index 0000000..004d7e5
--- /dev/null
+++ b/tests/tests_notebook.py
@@ -0,0 +1,7 @@
+from tqdm.notebook import tqdm as tqdm_notebook
+
+
+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")