code: def test_environment_variables_nested_task(ray_start_regular):
      @ray.remote
      def get_env(key):
          print(os.environ)
          return os.environ.get(key)
  
      @ray.remote
      def get_env_wrapper(key):
          return ray.get(get_env.remote(key))
  
      assert (
          ray.get(
              get_env_wrapper.options(
                  runtime_env={
                      "env_vars": {
                          "a": "b",
                      }
                  }
              ).remote("a")
          )
          == "b"
      )
  
file_path: ray/python/ray/tests/test_runtime_env_env_vars.py
imports: import os
  import sys
  import pytest
  import ray
label_desc: Use image node_id 3 for calling a global function with example usage: test_environment_variables_nested_task(ray_start_regular) and returns: os, ray