code: def test_multi_cli_basic(call_ray_start):
      ray.init("ray://localhost:25001")
      cli1 = ray.init("ray://localhost:25001", allow_multiple=True)
      cli2 = ray.init("ray://localhost:25001", allow_multiple=True)
      with cli1:
          a = ray.put(10)
  
      with cli2:
          b = ray.put(20)
  
      # TODO better error message.
      # Right now, it's EOFError actually
      with pytest.raises(Exception):
          ray.get(a)
  
      with pytest.raises(Exception), cli2:
          ray.get(a)
  
      with pytest.raises(Exception), cli1:
          ray.get(b)
  
      c = ray.put(30)
  
      with cli1:
          assert 10 == ray.get(a)
  
      with cli2:
          assert 20 == ray.get(b)
  
      with pytest.raises(Exception), cli1:
          ray.get(c)
  
      with pytest.raises(Exception), cli2:
          ray.get(c)
  
file_path: ray/python/ray/tests/test_client_multi.py
imports: import os
  import sys
  import pytest
  import ray
label_desc: Use image node_id 2 for calling a global function with example usage: test_multi_cli_basic(call_ray_start) without return types