code: def test_future_erred_sync(client):
      future = client.submit(div, 1, 0)
      var = Variable()
      var.set(future)
  
      sleep(0.1)
  
      future2 = var.get()
  
      with pytest.raises(ZeroDivisionError):
          future2.result()
  
file_path: distributed/distributed/tests/test_variable.py
imports: from __future__ import annotations
  import asyncio
  import pickle
  import random
  from datetime import timedelta
  from time import sleep
  import pytest
  from distributed import Client, Nanny, TimeoutError, Variable, wait, worker_client
  from distributed.compatibility import WINDOWS
  from distributed.metrics import monotonic, time
  from distributed.utils import open_port
  from distributed.utils_test import captured_logger, div, gen_cluster, inc, popen
label_desc: Use image node_id 5 for calling a global function with example usage: test_future_erred_sync(client) without return types