Lines Matching refs:signature
190 signature = inspect.formatargspec(
194 signature = inspect.formatargspec(
197 return signature[1:-1], func
207 signature, func = result
211 src = "lambda _mock_self, %s: None" % signature
262 # creates a function with signature (*args, **kwargs) that delegates to a
263 # mock. It still does signature checking by calling a lambda with the same
264 # signature as the original.
274 signature, func = result
276 src = "lambda %s: None" % signature
947 # stub method that can be replaced with one with a specific signature
953 # in the signature
1532 they are called with the wrong signature. For mocks replacing a class,
2142 to check that they are called with the correct signature.