mirror of
https://github.com/python/cpython
synced 2024-10-17 05:22:12 +00:00
Fix typo in unittest.mock docs
This commit is contained in:
parent
eac0939ddd
commit
e55f6636cc
|
@ -1714,7 +1714,7 @@ call
|
|||
|
||||
`call` is a helper object for making simpler assertions, for comparing
|
||||
with :attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`,
|
||||
:attr:`~Mock.mock_calls` and:attr: `~Mock.method_calls`. `call` can also be
|
||||
:attr:`~Mock.mock_calls` and :attr: `~Mock.method_calls`. `call` can also be
|
||||
used with :meth:`~Mock.assert_has_calls`.
|
||||
|
||||
>>> m = MagicMock(return_value=None)
|
||||
|
|
Loading…
Reference in a new issue