def anticipate_failure(condition):
    if condition:
        return unittest.expectedFailure
    return lambda f: f
Decorator to mark a test that is known to be broken in some cases
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/test/support.py/anticipate_failure