code: def test_shutdown(ray_start_regular_shared):
      q = Queue()
      actor = q.actor
      q.shutdown()
      assert q.actor is None
      with pytest.raises(RayActorError):
          ray.get(actor.empty.remote())
  
file_path: ray/python/ray/tests/test_queue.py
imports: import pytest
  import time
  import ray
  from ray.exceptions import GetTimeoutError, RayActorError
  from ray.util.queue import Queue, Empty, Full
  from ray._private.test_utils import wait_for_condition, BatchQueue
label_desc: Use image node_id 10 for calling a global function with example usage: test_shutdown(ray_start_regular_shared) without return types