code: def mock_env(monkeypatch):
      monkeypatch.delenv("CI", raising=False)
      monkeypatch.setenv("DVC_TEST", "False")
  
file_path: dvc/tests/unit/test_updater.py
imports: import json
  import logging
  import os
  import time
  import pytest
  from dvc import __version__
  from dvc.updater import Updater
  from tests.func.parsing.test_errors import escape_ansi
label_desc: Use image node_id 2 for calling a global function with example usage: mock_env(monkeypatch) without return types