mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
bpo-35946: Improve assert_called_with documentation (GH-11796)
(cherry picked from commit f5896a05ed
)
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
This commit is contained in:
parent
f3dca6acee
commit
612d3935ec
2 changed files with 3 additions and 3 deletions
|
@ -854,7 +854,7 @@ class NonCallableMock(Base):
|
|||
raise AssertionError(msg)
|
||||
|
||||
def assert_called_with(self, /, *args, **kwargs):
|
||||
"""assert that the mock was called with the specified arguments.
|
||||
"""assert that the last call was made with the specified arguments.
|
||||
|
||||
Raises an AssertionError if the args and keyword args passed in are
|
||||
different to the last call to the mock."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue