def assert_any_call(self, *args, **kwargs):
kall = call(*args, **kwargs)<EOL>if kall not in self.call_args_list:<EOL><INDENT>expected_string = self._format_mock_call_signature(args, kwargs)<EOL>raise AssertionError(<EOL>'<STR_LIT>' % expected_string<EOL>)<EOL><DEDENT>
assert the mock has been called with the specified arguments.

        The assert passes if the mock has *ever* been called, unlike
        `assert_called_with` and `assert_called_once_with` that only pass if
        the call is the most recent one.