def print_fails(stream):
    if not FAILS:
        return
    stream.write("\n==============================\n")
    stream.write("Failed %s tests - output below:" % len(FAILS))
    stream.write("\n==============================\n")
    for f in FAILS:
        stream.write("\n%s\n" % f['id'])
        stream.write("%s\n" % ('-' * len(f['id'])))
        print_attachments(stream, f, all_channels=True)
    stream.write('\n')
If no sub command is used, postOptions should not touch no_save.
dataset/ETHPy150Open openstack/dragonflow/tools/subunit-trace.py/print_fails--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/ServerOptionsTest.test_postOptionsNoSubCommandSavesAsUsual