code: def test_checkpoint_manager():
      codes = CHECKPOINT_MANAGER.get_by_name(
          "hubert-base-ls960-kmeans-50-tacotron-codes",
          download_if_needed=True,
      )
      assert pathlib.Path(codes).exists()
  
      with pytest.raises(KeyError):
          codes = CHECKPOINT_MANAGER.get_by_name(
              "123", download_if_needed=True
          )
  
imports: from textless.checkpoint_manager import CHECKPOINT_MANAGER
  import tempfile
  import pathlib
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_checkpoint_manager() without return types