def METHOD_NAME(func):
    def new_func(*args, **kwargs):
        try:
            with _limit_time(seconds):
                return func(*args, **kwargs)
        except LinkCheckerInterrupt as msg:
            if skip:
                pytest.skip("time limit of %d seconds exceeded" % seconds)
            assert False, msg
    new_func.__name__ = func.__name__
    return new_func