code: def temporary_directory():
      """
      Get a temporary directory
      """
      temp_dir = tempfile.mkdtemp()
      try:
          yield temp_dir
      finally:
          shutil.rmtree(temp_dir)
  
file_path: pyproj/test/test_pickle.py
imports: import os
  import pickle
  import shutil
  import tempfile
  from contextlib import contextmanager
  import numpy
  from numpy.testing import assert_allclose
  from pyproj import Proj
label_desc: Use image node_id 1 for calling a global function with example usage: temporary_directory() without return types