code: def test_track_future_error_no_callback(ray_start_4_cpus):
      """Schedule a future that fails.
  
      Check that passing no callback raises the original error.
      """
      event_manager = RayEventManager()
  
      event_manager.track_future(failing.remote(RuntimeError))
  
      with pytest.raises(RuntimeError):
          event_manager.wait()
  
      assert not event_manager._tracked_futures
  
file_path: ray/python/ray/air/tests/execution/test_event_manager.py
imports: import time
  from typing import Any, Type
  import pytest
  import ray
  from ray.air.execution._internal import Barrier
  from ray.air.execution._internal.event_manager import RayEventManager
  from ray.exceptions import RayTaskError
label_desc: Use image node_id 8 for calling a global function with example usage: test_track_future_error_no_callback(ray_start_4_cpus) without return types