def report_results(suite_name, txt_file):
    orig_stdout = sys.stdout
    f = open((txt_file) % '%s', 'a')
    sys.stdout = f
    report = report_table(suite_name)
    print(report)
    sys.stdout = orig_stdout
    f.close()
dataset/ETHPy150Open openstack/group-based-policy/gbpservice/tests/contrib/gbpfunctests/libs/utils_libs.py/report_results/swapped operands of `%`