def collect_results(results_file):
    """Return the result (pass/fail) for json file."""
    with open(results_file, 'r') as results:
        data = json.load(results)
    return data
def collect_results ( results_file ) : with open ( results_file , 'r' ) as results : data = json . load ( results ) return data
Return the result (pass/fail) for json file.