def _fmt_path(path):
    if not path:
        return ''
    return 'path: _' + ''.join(path)
Format the path for final display.
dataset/ETHPy150Open quantopian/zipline/zipline/testing/predicates.py/_fmt_path