mock.py | 225 def patched(*args, **keywargs): function in function:_patch.__call__ 228 for patching in patched.patchings: 236 for patching in getattr(patched, 'patchings', []): 239 patched.patchings = [self] 240 patched.__name__ = func.__name__ 241 patched.compat_co_firstlineno = getattr(func, "compat_co_firstlineno", 243 return patched
|