

def read_test_list(path):
    'Read a list of test ids from a file on disk.\n\n    :param path: Path to the file\n    :return: Sequence of test ids\n    '
    f = open(path, 'rb')
    try:
        return [l.rstrip('\n') for l in f.readlines()]
    finally:
        f.close()

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py read_test_list/original