code: def test_task_spawn_task(shutdown_only):
      ray.get(nested_task.remote(max_depth=5, spawn_task=True))
  
file_path: ray/python/ray/tests/test_nested_task.py
imports: import sys
  import threading
  import pytest
  import ray
label_desc: Use image node_id 4 for calling a global function with example usage: test_task_spawn_task(shutdown_only) without return types