code: def nsight_fake_dependency():
      subprocess.check_call(
          ["pip", "install", NSIGHT_FAKE_DIR],
          stdout=subprocess.DEVNULL,
          stderr=subprocess.DEVNULL,
      )
      yield
      subprocess.check_call(
          ["pip", "uninstall", "nsys", "--y"],
          stdout=subprocess.DEVNULL,
          stderr=subprocess.DEVNULL,
      )
  
file_path: ray/python/ray/tests/test_runtime_env_profiler.py
imports: import os
  import glob
  import sys
  from pathlib import Path
  import pytest
  import subprocess
  import ray
  from ray._private.runtime_env.nsight import parse_nsight_config
  from ray._private.test_utils import wait_for_condition
  from ray.exceptions import RuntimeEnvSetupError
label_desc: Use image node_id 2 for calling a global function with example usage: nsight_fake_dependency() without return types