def METHOD_NAME(self, output):
    """
    Raises:
        ValueError, IndexError
    """
    output_lines = output.decode('ascii').strip().split('\n')
    output_lines.pop(0)     # strip header line
    hops = []
    for line in output_lines:
        self._probe_endpoint = self.DEFAULT_ENDPOINT
        hops.append(self._parse_hop(line))
    return TracerouteStats(hops)