MCPcopy Index your code
hub / github.com/ipython/ipython / test_qmark_getindex_negatif

Function test_qmark_getindex_negatif

tests/test_oinspect.py:426–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424
425
426def test_qmark_getindex_negatif():
427 def dummy():
428 """
429 MARKER 3
430 """
431
432 container = [dummy]
433 with cleanup_user_ns(container=container):
434 with AssertPrints("MARKER 3"):
435 ip.run_cell("container[-1]?")
436 assert "container" not in ip.user_ns.keys()
437
438
439def test_pinfo_nonascii():

Callers

nothing calls this directly

Calls 4

AssertPrintsClass · 0.90
cleanup_user_nsFunction · 0.85
keysMethod · 0.80
run_cellMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…