Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ wrapper
Method
wrapper
tests/test_run.py:530–532 ·
view source on GitHub ↗
(*args, **kwds)
Source
from the content-addressed store, hash-verified
528
def
with_fake_debugger(func):
529
@functools.wraps(func)
530
def
wrapper(*args, **kwds):
531
with
patch.object(debugger.Pdb,
"run"
, staticmethod(eval)):
532
return
func(*args, **kwds)
533
534
return
wrapper
535
Callers
nothing calls this directly
Calls
1
func
Function · 0.85
Tested by
no test coverage detected