Skip to content

Commit ee79fc8

Browse files
committed
fixed unicode issues on python 3 (fixes wolph#104, fixes wolph#105, #fixes 106)
1 parent 6e10a3e commit ee79fc8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

progressbar/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
long running operations.
2020
'''.strip().split())
2121
__email__ = 'wolph@wol.ph'
22-
__version__ = '3.17.0'
22+
__version__ = '3.17.1'
2323
__license__ = 'BSD'
2424
__copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
2525
__url__ = 'https://github.com/WoLpH/python-progressbar'

tests/unicode.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def test_markers(name, markers, as_unicode):
2222
'%s: ' % name.capitalize(),
2323
progressbar.AnimatedMarker(markers=markers),
2424
]
25-
pbar = progressbar.ProgressBar(widgets=widgets)
26-
for i in pbar((i for i in range(24))):
25+
bar = progressbar.ProgressBar(widgets=widgets)
26+
bar._MINIMUM_UPDATE_INTERVAL = 1e-12
27+
for i in bar((i for i in range(24))):
2728
time.sleep(0.001)
2829

0 commit comments

Comments
 (0)