def METHOD_NAME(self, executor):
    """Wait - Timeout"""
    future = executor.submit(function, FunctionException, 1, None)
    assert future.ready() is False
    future.wait(0.01)
    # SingleExecutor is not truly async so
    # results are always ready after a wait
    if not isinstance(executor, SingleExecutor):
        assert future.ready() is False
    else:
        assert future.ready() is True
    future.wait()
    assert future.ready() is True