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

Function test_doctest_mode

IPython/core/tests/test_magic.py:480–483  ·  view source on GitHub ↗

Toggle doctest_mode twice, it should be a no-op and run without error

()

Source from the content-addressed store, hash-verified

478 del ip.user_ns['myvar']
479
480def test_doctest_mode():
481 "Toggle doctest_mode twice, it should be a no-op and run without error"
482 _ip.magic('doctest_mode')
483 _ip.magic('doctest_mode')
484
485
486def test_parse_options():

Callers

nothing calls this directly

Calls 1

magicMethod · 0.45

Tested by

no test coverage detected