8000 Fix a typo in Lib/unittest/mock.py (#136067) · python/cpython@35ecaf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35ecaf9

Browse files
authored
Fix a typo in Lib/unittest/mock.py (#136067)
1 parent c419af9 commit 35ecaf9

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)
0