Skip to content

Commit 40a75c6

Browse files
LamentXU123taegyunkim
authored andcommitted
Fix a typo in Lib/unittest/mock.py (python#136067)
1 parent 2888504 commit 40a75c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/unittest/mock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ def _error_message():
986986

987987

988988
def assert_called_once_with(self, /, *args, **kwargs):
989-
"""assert that the mock was called exactly once and that that call was
989+
"""assert that the mock was called exactly once and that call was
990990
with the specified arguments."""
991991
if not self.call_count == 1:
992992
msg = ("Expected '%s' to be called once. Called %s times.%s"

0 commit comments

Comments
 (0)