class_docstr: Test class that extends tf.test.TestCase with extra functionality.
code: def _getTempDir(self) -> str:
      return tempfile.mkdtemp()
  
imports: import math
  import tempfile
  from typing import Dict, Iterable, List, Optional, Sequence, Tuple, Union
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.eval_saved_model import constants
  from tensorflow_model_analysis.eval_saved_model import load
  from tensorflow_model_analysis.eval_saved_model import util
  from tensorflow_model_analysis.utils import model_util
label_desc: Use image node_id 2 for calling the TensorflowModelAnalysisTest obj's underlying member method code with example usage: obj._getTempDir() and returns: tempfile