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

Method __init__

IPython/terminal/tests/test_interactivshell.py:66–69  ·  view source on GitHub ↗
(self, testgen)

Source from the content-addressed store, hash-verified

64 Used by the mock_input decorator.
65 """
66 def __init__(self, testgen):
67 self.testgen = testgen
68 self.exception = None
69 self.ip = get_ipython()
70
71 def __enter__(self):
72 self.orig_prompt_for_code = self.ip.prompt_for_code

Callers

nothing calls this directly

Calls 1

get_ipythonFunction · 0.50

Tested by

no test coverage detected