code: def test_get_locations_inlined(ray_start_regular):
      node_id = ray.get_runtime_context().get_node_id()
      obj_refs = [ray.put("123")]
      ray.wait(obj_refs)
      locations = ray.experimental.get_object_locations(obj_refs)
      for idx, obj_ref in enumerate(obj_refs):
          location = locations[obj_ref]
          assert location["node_ids"] == [node_id]
          assert location["object_size"] > 0
  
file_path: ray/python/ray/tests/test_get_locations.py
imports: import time
  import numpy
  import pytest
  import ray
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_locations_inlined(ray_start_regular) without return types