File: tests_notebook.py

package info (click to toggle)
tqdm 4.67.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 720 kB
  • sloc: python: 5,610; makefile: 160; sh: 16
file content (7 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
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")