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

Function test_inspect_integer

tests/test_inspect.py:203–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201
202
203def test_inspect_integer():
204 expected = (
205 "╭────── <class 'int'> ───────╮\n"
206 "│ int([x]) -> integer │\n"
207 "│ int(x, base=10) -> integer │\n"
208 "│ │\n"
209 "│ denominator = 1 │\n"
210 "│ imag = 0 │\n"
211 "│ numerator = 1 │\n"
212 "│ real = 1 │\n"
213 "╰────────────────────────────╯\n"
214 )
215 assert expected == render(1)
216
217
218def test_inspect_integer_with_value():

Callers

nothing calls this directly

Calls 1

renderFunction · 0.70

Tested by

no test coverage detected