MCPcopy Index your code
hub / github.com/RustPython/RustPython / patched

Method patched

Lib/unittest/mock.py:1428–1432  ·  view source on GitHub ↗
(*args, **keywargs)

Source from the content-addressed store, hash-verified

1426
1427 @wraps(func)
1428 def patched(*args, **keywargs):
1429 with self.decoration_helper(patched,
1430 args,
1431 keywargs) as (newargs, newkeywargs):
1432 return func(*newargs, **newkeywargs)
1433
1434 patched.patchings = [self]
1435 return patched

Callers

nothing calls this directly

Calls 2

decoration_helperMethod · 0.95
funcFunction · 0.50

Tested by

no test coverage detected