code: def setUpClass(cls):
      cls.base_checkpoint_dir = tf.test.get_temp_dir()
      shutil.rmtree(cls.base_checkpoint_dir, ignore_errors=True)
  
file_path: tensor2tensor/tensor2tensor/utils/metrics_hook_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import os
  import shutil
  from tensor2tensor.utils import metrics_hook
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the MetricsHookTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types