MCPcopy Index your code
hub / github.com/python/cpython / wrapper

Function wrapper

Lib/unittest/mock.py:292–293  ·  view source on GitHub ↗
(attr, /, *args, **kwargs)

Source from the content-addressed store, hash-verified

290 # to a function and then the corresponding mock helper function
291 # is called when the helper is accessed similar to _setup_func.
292 def wrapper(attr, /, *args, **kwargs):
293 return getattr(mock.mock, attr)(*args, **kwargs)
294
295 for attribute in ('assert_awaited',
296 'assert_awaited_once',

Callers 1

runsourceMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…