def parse_traceback(lines):
    file_location = None
    result = []
    for line in lines:
        result.append(line)
        location = match_file_location(line)
        if location:
            file_location = location
            continue
        elif match_code_pattern(line):
            continue
        else:
            # Iterate until lines don't match a traceback file location or a
            # source code pattern. *That* list line holds the error description.
            if file_location:
                result.append(
                    make_error_format(
                        file_location['file_path'],
                        file_location['line_no'],
                        line,
                    ),
                )
                break
    return result
Returns:
dataset/ETHPy150Open okcompute/vim-python-tests-runner/compiler/runners/python.py/parse_traceback--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/tournament.py/TournamentCode.spectator_type