code: def test_ray_internal_kv(serve_instance):  # noqa: F811
      with pytest.raises(TypeError):
          RayInternalKVStore(namespace=1)
          RayInternalKVStore(namespace=b"")
  
      kv = RayInternalKVStore()
  
      with pytest.raises(TypeError):
          kv.put(1, b"1")
      with pytest.raises(TypeError):
          kv.put("1", 1)
      with pytest.raises(TypeError):
          kv.put("1", "1")
  
      kv.put("1", b"2")
      assert kv.get("1") == b"2"
      kv.put("2", b"4")
      assert kv.get("2") == b"4"
      kv.put("1", b"3")
      assert kv.get("1") == b"3"
      assert kv.get("2") == b"4"
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_ray_internal_kv(serve_instance) without return types