def trap_exit_fail(f):
    def test_wrapper(*args):
        try:
            f(*args)
        except __HOLE__:
            import traceback
            print (traceback.format_exc())
            assert False
    test_wrapper.__name__ = f.__name__
    return test_wrapper
dataset/ETHPy150Open hyde/commando/commando/tests/test_commando.py/trap_exit_fail