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

Class BrokenStr

tests/test_traceback.py:237–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235
236def test_broken_str():
237 class BrokenStr(Exception):
238 def __str__(self):
239 1 / 0
240
241 console = Console(width=100, file=io.StringIO())
242 try:

Callers 1

test_broken_strFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_broken_strFunction · 0.68