Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
50
def
test_zero_total():
51
# Shouldn't throw zero division error
52
bar = ProgressBar(total=0)
53
render(bar)
54
55
56
def
test_pulse():
Callers
nothing calls this directly
Calls
2
ProgressBar
Class · 0.90
render
Function · 0.90
Tested by
no test coverage detected