code: def test_exp_with_existing_working_dir(tmp_path):
      """Check if an existing permanent directory is not overwritten."""
      tmp_path = os.path.join(tmp_path, "orion")
  
      experiment = ExperimentStub(tmp_path)
  
      os.makedirs(tmp_path)
  
      assert os.path.exists(tmp_path)
  
      file_path = os.path.join(tmp_path, "some_file")
      Path(file_path).touch()
  
      assert os.path.exists(file_path)
  
      with SetupWorkingDir(experiment):
          assert os.path.exists(tmp_path)
  
      assert experiment.working_dir == tmp_path
      assert os.path.exists(tmp_path)
      assert os.path.exists(file_path)
  
      shutil.rmtree(tmp_path)
  
file_path: orion/tests/unittests/core/utils/test_working_dir.py
imports: import os
  import shutil
  from pathlib import Path
  from orion.core.utils.working_dir import SetupWorkingDir
label_desc: Use image node_id 2 for calling a global function with example usage: test_exp_with_existing_working_dir(tmp_path) without return types