def ExecutedUpTo(self, lineno):
    """Print output put to a given line number.

    This really only matters in --verbose mode where the file is printed as the
    tests run.

    Args:
      lineno: The line to print up to.
    """
    if self._verbose:
      for i, line in enumerate(self._lines[self._nextline:lineno + 1]):
        number = self.Lineno(self._nextline + i)
        self.Queue('%s %s' % (number, line.rstrip('\n')))
    self._nextline = lineno + 1
dataset/ETHPy150Open google/vroom/vroom/output.py/ActionLogger.ExecutedUpTo/original