Skip to content

Commit aef56f6

Browse files
LamentXU123Agent-Hellboy
authored andcommitted
Fix a typo in Lib/unittest/mock.py (python#136067)
1 parent ca91acb commit aef56f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)