code: def test_changing_root():
      name = "hubert-base-ls960-kmeans-50-tacotron-codes"
  
      with tempfile.TemporaryDirectory() as tmpdir:
          CHECKPOINT_MANAGER.set_root(tmpdir)
          with pytest.raises(FileNotFoundError):
              CHECKPOINT_MANAGER.get_by_name(
                  name, download_if_needed=False
              )
  
          CHECKPOINT_MANAGER.get_by_name(name, download_if_needed=True)
          assert (
              pathlib.Path(tmpdir)
              / CHECKPOINT_MANAGER.storage[name].fname
          ).exists()
  
imports: from textless.checkpoint_manager import CHECKPOINT_MANAGER
  import tempfile
  import pathlib
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_changing_root() without return types