code: def local_cache():
      cache_dir = tempfile.mkdtemp()
      cache = librosa._cache.CacheManager(
          cache_dir, verbose=0, level=10
      )
      yield cache
      shutil.rmtree(cache_dir)
  
file_path: librosa/tests/test_cache.py
imports: import os
  import sys
  import tempfile
  import shutil
  import numpy
  import pytest
  import librosa._cache
label_desc: Use image node_id 1 for calling a global function with example usage: local_cache() without return types