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

Function test_config

tests/test_magic.py:124–131  ·  view source on GitHub ↗

test that config magic does not raise can happen if Configurable init is moved too early into Magics.__init__ as then a Config object will be registered as a magic.

()

Source from the content-addressed store, hash-verified

122
123
124def test_config():
125 """test that config magic does not raise
126 can happen if Configurable init is moved too early into
127 Magics.__init__ as then a Config object will be registered as a
128 magic.
129 """
130 ## should not raise.
131 _ip.run_line_magic("config", "")
132
133
134def test_config_available_configs():

Callers

nothing calls this directly

Calls 1

run_line_magicMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…