def match_file_location(line):
    return match_pattern(r"(?P<file_path>\S+):(?P<line_no>\d+)(:| in)\s.*$", line)
Extract filename path and line number from a *pytest* formatted file
dataset/ETHPy150Open okcompute/vim-python-tests-runner/compiler/runners/pytest.py/match_file_location