code: def build_env():
      env = os.environ.copy()
      if sys.platform == "win32" and "SYSTEMROOT" not in env:
          env["SYSTEMROOT"] = r"C:\Windows"
  
      return env
  
file_path: ray/python/ray/tests/test_tls_auth.py
imports: import logging
  import os
  import sys
  import subprocess
  import pytest
  from ray._private.test_utils import run_string_as_driver
label_desc: Use image node_id 1 for calling a global function with example usage: build_env() and returns: env