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

Function test_xmode

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

Source from the content-addressed store, hash-verified

529
530
531def test_xmode():
532 # Calling xmode three times should be a no-op
533 xmode = _ip.InteractiveTB.mode
534 for i in range(4):
535 _ip.magic("xmode")
536 nt.assert_equal(_ip.InteractiveTB.mode, xmode)
537
538def test_reset_hard():
539 monitor = []

Callers

nothing calls this directly

Calls 1

magicMethod · 0.45

Tested by

no test coverage detected