Fix unittest.mock.Mock keyword arguments to address #1282 (#1300)

This commit is contained in:
Benjamin Starling
2017-05-23 02:30:40 -04:00
committed by Jelle Zijlstra
parent d571f101ba
commit 9abbc0d392

View File

@@ -63,7 +63,7 @@ if sys.version_info >= (3, 3):
def __call__(_mock_self, *args: Any, **kwargs: Any) -> Any: ...
class Mock(CallableMixin, NonCallableMock):
def __init__(self) -> None: ...
def __init__(self, spec: Any = ..., spec_set: Any = ..., side_effect: Any = ..., return_value: Any = ..., wraps: Any = ..., name: Any = ..., **kwargs: Any) -> None: ...
class _patch:
attribute_name = ... # type: Any