Skip to content

Commit 293a376

Browse files
committed
added support for dirty progressbar thanks to @ritze
1 parent 5344cad commit 293a376

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/test_progressbar.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,13 @@ def test_reuse():
4747
for i in range(10):
4848
bar.update(i)
4949
bar.finish()
50+
51+
52+
def test_dirty():
53+
import progressbar
54+
55+
bar = progressbar.ProgressBar()
56+
bar.start()
57+
for i in range(10):
58+
bar.update(i)
59+
bar.finish(dirty=True)

0 commit comments

Comments
 (0)