MCPcopy Create free account
hub / github.com/ipython/ipython / test_bookmark

Function test_bookmark

IPython/core/tests/test_magic.py:1164–1169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1162 _run_edit_test("1", exp_contents=ip.user_ns['In'][1], exp_is_temp=True)
1163
1164def test_bookmark():
1165 ip = get_ipython()
1166 ip.run_line_magic('bookmark', 'bmname')
1167 with tt.AssertPrints('bmname'):
1168 ip.run_line_magic('bookmark', '-l')
1169 ip.run_line_magic('bookmark', '-d bmname')
1170
1171def test_ls_magic():
1172 ip = get_ipython()

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
run_line_magicMethod · 0.80

Tested by

no test coverage detected