code: def test_get_locations_timeout(ray_start_regular):
      sizes = [100, 1000]
      obj_refs = [ray.put(np.zeros(s, dtype=np.uint8)) for s in sizes]
      ray.wait(obj_refs)
      timeout_ms = 0
      with pytest.raises(ray.exceptions.GetTimeoutError):
          ray.experimental.get_object_locations(obj_refs, timeout_ms)
  
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 3 for calling a global function with example usage: test_get_locations_timeout(ray_start_regular) without return types