MCPcopy
hub / github.com/Textualize/rich / test_zero_total

Function test_zero_total

tests/test_bar.py:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_zero_total():
51 # Shouldn't throw zero division error
52 bar = ProgressBar(total=0)
53 render(bar)
54
55
56def test_pulse():

Callers

nothing calls this directly

Calls 2

ProgressBarClass · 0.90
renderFunction · 0.90

Tested by

no test coverage detected