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

Method with_fake_debugger

IPython/core/tests/test_run.py:493–498  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

491 self.check_run_submodule('relative', '-p')
492
493 def with_fake_debugger(func):
494 @functools.wraps(func)
495 def wrapper(*args, **kwds):
496 with patch.object(debugger.Pdb, 'run', staticmethod(eval)):
497 return func(*args, **kwds)
498 return wrapper
499
500 @with_fake_debugger
501 def test_debug_run_submodule_with_absolute_import(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected