code: def change_test_dir(tmpdir, monkeypatch):
      monkeypatch.chdir(tmpdir)
  
file_path: ludwig/tests/integration_tests/test_cache_manager.py
imports: import os
  from pathlib import Path
  import pandas
  import pytest
  from ludwig.constants import CHECKSUM, META, TEST, TRAINING, VALIDATION
  from ludwig.data.cache.manager import alphanum, CacheManager
  from ludwig.data.cache.types import CacheableDataframe, wrap
  from ludwig.data.dataset.pandas import PandasDatasetManager
  from ludwig.globals import TRAINING_PREPROC_FILE_NAME
  from tests.integration_tests.utils import category_feature, LocalTestBackend, sequence_feature
label_desc: Use image node_id 1 for calling a global function with example usage: change_test_dir(tmpdir, monkeypatch) without return types