mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix markup errors found by "make suspicious".
This commit is contained in:
parent
3f4a1b30e4
commit
24891672ce
2 changed files with 4 additions and 4 deletions
|
|
@ -39,7 +39,7 @@ and attributes that allow you to make assertions about how it has been used.
|
|||
|
||||
Once the mock has been called its :attr:`~Mock.called` attribute is set to
|
||||
`True`. More importantly we can use the :meth:`~Mock.assert_called_with` or
|
||||
:meth`~Mock.assert_called_once_with` method to check that it was called with
|
||||
:meth:`~Mock.assert_called_once_with` method to check that it was called with
|
||||
the correct arguments.
|
||||
|
||||
This example tests that calling `ProductionClass().method` results in a call to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue