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

Method test_run_debug_twice

IPython/core/tests/test_run.py:209–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207 self.run_tmpfile_p()
208
209 def test_run_debug_twice(self):
210 # https://github.com/ipython/ipython/issues/10028
211 _ip = get_ipython()
212 with tt.fake_input(['c']):
213 _ip.magic('run -d %s' % self.fname)
214 with tt.fake_input(['c']):
215 _ip.magic('run -d %s' % self.fname)
216
217 def test_run_debug_twice_with_breakpoint(self):
218 """Make a valid python temp file."""

Callers

nothing calls this directly

Calls 3

fake_inputMethod · 0.80
get_ipythonFunction · 0.50
magicMethod · 0.45

Tested by

no test coverage detected