mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +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 @@ class NonCallableMock(Base):
|
|||
|
||||
|
||||
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."""
|
||||
if not self.call_count == 1:
|
||||
msg = ("Expected '%s' to be called once. Called %s times.%s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue