def __init__(self, line, mode, context):
    """Makes the exception.

    Args:
      line: The expected line.
      mode: The match mode.
      context: The buffer context.
    """
    self.context = context
    mode = mode or vroom.controls.DEFAULT_MODE
    msg = (line, mode) % 'Expected "%s" in %s mode.'
    super(WrongOutput, self).__init__(context, msg)
dataset/ETHPy150Open google/vroom/vroom/buffer.py/WrongOutput.__init__/swapped operands of `%`