code: def ray_start_4_cpus():
      address_info = ray.init(num_cpus=4)
      yield address_info
      # The code after the yield will run as teardown code.
      ray.shutdown()
  
file_path: ray/python/ray/air/tests/execution/test_resource_manager_fixed.py
imports: import pytest
  import ray
  from ray.air.execution.resources.fixed import FixedResourceManager
  from ray.air.execution.resources.request import ResourceRequest
  from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy
label_desc: Use image node_id 1 for calling a global function with example usage: ray_start_4_cpus() without return types