def assert_called_with(self, *args, **kwargs):
        """
        assert that the mock was called with the specified arguments.

        Raises an AssertionError if the args and keyword args passed in are
        different to the last call to the mock.
        """
        if self.call_args is None:
            raise AssertionError(((args, kwargs),) % 'Expected: %s\nNot called')
        if not self.call_args == (args, kwargs):
            raise AssertionError(
                'Expected: %s\nCalled with: %s' % ((args, kwargs), self.call_args)
            )
dataset/ETHPy150Open sibson/vncdotool/tests/unit/mock.py/Mock.assert_called_with/swapped operands of `%`