()
| 398 | |
| 399 | |
| 400 | def test_pinfo_getindex(): |
| 401 | def dummy(): |
| 402 | """ |
| 403 | MARKER |
| 404 | """ |
| 405 | |
| 406 | container = [dummy] |
| 407 | with cleanup_user_ns(container=container): |
| 408 | with AssertPrints("MARKER"): |
| 409 | ip._inspect("pinfo", "container[0]", detail_level=0) |
| 410 | assert "container" not in ip.user_ns.keys() |
| 411 | |
| 412 | |
| 413 | def test_qmark_getindex(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…