code: def test_task_actor(shutdown_only):
      ray.init()
      _test_task_and_actor()
  
file_path: ray/python/ray/tests/test_runtime_env_ray_minimal.py
imports: import os
  import sys
  import pytest
  import ray
  from ray.exceptions import RuntimeEnvSetupError
label_desc: Use image node_id 2 for calling a global function with example usage: test_task_actor(shutdown_only) without return types