code: def test_dask_exceptions(client):
      fut = client.submit(_raise_exception)
      wait(fut)
  
      with pytest.raises(RuntimeError):
          raise_exception_from_futures([fut])
  
imports: import pytest
  from dask.distributed import wait
  from cuml.dask.common import raise_exception_from_futures
label_desc: Use image node_id 2 for calling a global function with example usage: test_dask_exceptions(client) without return types