mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Fix a typo in Lib/unittest/mock.py (#136067)
This commit is contained in:
parent
c419af9e27
commit
35ecaf90b2
1 changed files with 1 additions and 1 deletions
|
|
@ -986,7 +986,7 @@ def _error_message():
|
||||||
|
|
||||||
|
|
||||||
def assert_called_once_with(self, /, *args, **kwargs):
|
def assert_called_once_with(self, /, *args, **kwargs):
|
||||||
"""assert that the mock was called exactly once and that that call was
|
"""assert that the mock was called exactly once and that call was
|
||||||
with the specified arguments."""
|
with the specified arguments."""
|
||||||
if not self.call_count == 1:
|
if not self.call_count == 1:
|
||||||
msg = ("Expected '%s' to be called once. Called %s times.%s"
|
msg = ("Expected '%s' to be called once. Called %s times.%s"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue