This commit is contained in:
@@ -86,7 +86,7 @@ def test_float_alignment_in_bar():
|
|||||||
# Capture the tqdm output into a string buffer
|
# Capture the tqdm output into a string buffer
|
||||||
f = io.StringIO()
|
f = io.StringIO()
|
||||||
with redirect_stdout(f):
|
with redirect_stdout(f):
|
||||||
bar = tqdm_mod(total=100.12, desc="AlignBar", file=f)
|
bar = tqdm_mod(total=100.12, desc="AlignBar", file=f, miniters=1, mininterval=0)
|
||||||
bar.set(1.3333)
|
bar.set(1.3333)
|
||||||
bar.set(12.5)
|
bar.set(12.5)
|
||||||
bar.set(99.98)
|
bar.set(99.98)
|
||||||
|
|||||||
Reference in New Issue
Block a user