We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c419af9 commit 35ecaf9Copy full SHA for 35ecaf9
Lib/unittest/mock.py
@@ -986,7 +986,7 @@ def _error_message():
986
987
988
def assert_called_once_with(self, /, *args, **kwargs):
989
- """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
990
with the specified arguments."""
991
if not self.call_count == 1:
992
msg = ("Expected '%s' to be called once. Called %s times.%s"
0 commit comments