def METHOD_NAME(f):
    @functools.wraps(f)
    def wrapped(*args, **kwargs):
        env = get_fake_env()
        cc = detect_c_compiler(env, MachineChoice.HOST)
        key = OptionKey(feature)
        if key not in cc.base_options:
            raise unittest.SkipTest(
                f'{feature} not available with {cc.id}')
        return f(*args, **kwargs)
    return wrapped