Debian Codegraph @

tests/test_empty.py

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 import progressbar
2
3
4 def test_empty_list() -> None:
5 for x in progressbar.ProgressBar()([]):
6 print(x)
7
8
9 def test_empty_iterator() -> None:
10 for x in progressbar.ProgressBar(max_value=0)(iter([])):
11 print(x)