Home
last modified time | relevance | path

Searched refs:funcopy (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/pymock/
Dmock.py217 def _copy_func_details(func, funcopy): argument
218 funcopy.__name__ = func.__name__
219 funcopy.__doc__ = func.__doc__
221 funcopy.__module__ = func.__module__
223 funcopy.func_defaults = func.func_defaults
225 funcopy.__defaults__ = func.__defaults__
226 funcopy.__kwdefaults__ = func.__kwdefaults__
288 funcopy = context[name]
289 _setup_func(funcopy, mock)
290 return funcopy
[all …]
/external/python/cpython2/Lib/test/
D_mock_backport.py117 def _copy_func_details(func, funcopy): argument
118 funcopy.__name__ = func.__name__
119 funcopy.__doc__ = func.__doc__
121 funcopy.__text_signature__ = func.__text_signature__
127 funcopy.__module__ = func.__module__
131 funcopy.__defaults__ = func.__defaults__
135 funcopy.__kwdefaults__ = func.__kwdefaults__
193 funcopy = context[name]
194 _setup_func(funcopy, mock)
195 return funcopy
[all …]