class_docstr: Test Future interface to make sure all backend behave the same
docstr: Successful - Error
docstr_tok: ["Successful","-","Error"]
code: def successful_error(self, executor):
      """Successful - Error"""
      future = executor.submit(function, FunctionException, 1, None)
  
      with pytest.raises(ValueError):
          assert future.successful()
  
      future.wait()
      assert future.successful() is False
  
      with pytest.raises(FunctionException):
          future.get()
  
imports: import time
  import pytest
  from orion.executor.dask_backend import HAS_DASK, Dask
  from orion.executor.multiprocess_backend import PoolExecutor
  from orion.executor.single_backend import SingleExecutor
label_desc: Use image node_id 11 for calling the TestFutures obj's underlying member method code with example usage: obj.successful_error(executor) without return types