()
| 411 | |
| 412 | |
| 413 | def test_qmark_getindex(): |
| 414 | def dummy(): |
| 415 | """ |
| 416 | MARKER 2 |
| 417 | """ |
| 418 | |
| 419 | container = [dummy] |
| 420 | with cleanup_user_ns(container=container): |
| 421 | with AssertPrints("MARKER 2"): |
| 422 | ip.run_cell("container[0]?") |
| 423 | assert "container" not in ip.user_ns.keys() |
| 424 | |
| 425 | |
| 426 | def test_qmark_getindex_negatif(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…