Skip to content

Commit

Permalink
added support for dirty progressbar thanks to @ritze
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Dec 17, 2018
1 parent 5344cad commit 293a376
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_progressbar.py
Expand Up @@ -47,3 +47,13 @@ def test_reuse():
for i in range(10):
bar.update(i)
bar.finish()


def test_dirty():
import progressbar

bar = progressbar.ProgressBar()
bar.start()
for i in range(10):
bar.update(i)
bar.finish(dirty=True)

0 comments on commit 293a376

Please sign in to comment.