()
| 189 | |
| 190 | @skip_pypy3 |
| 191 | def 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 | |
| 203 | def test_inspect_integer(): |