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

Function test_inspect_coroutine

tests/test_inspect.py:191–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189
190@skip_pypy3
191def test_inspect_coroutine():
192 async def coroutine():
193 pass
194
195 expected = (
196 "╭─ <function test_inspect_coroutine.<locals>.cor─╮\n"
197 "│ async def │\n"
198 "│ test_inspect_coroutine.<locals>.coroutine(): │\n"
199 )
200 assert render(coroutine).startswith(expected)
201
202
203def test_inspect_integer():

Callers

nothing calls this directly

Calls 1

renderFunction · 0.70

Tested by

no test coverage detected