code: def tearDownClass(cls) -> None:
      # Cleanup temp working dir.
      for handler in cls.writer.handlers:
          handler.close()
      if cls._tmpdir is not None:
          # set ignore_errors as Windows throw error due to Permission
          shutil.rmtree(cls._tmpdir, ignore_errors=True)
  
file_path: mmf/tests/utils/test_logger.py
imports: import argparse
  import glob
  import os
  import shutil
  import tempfile
  import unittest
  from typing import Optional
  from mmf.common.registry import registry
  from mmf.utils.configuration import Configuration
  from mmf.utils.file_io import PathManager
  from mmf.utils.logger import setup_logger
label_desc: Use image node_id 2 for calling the TestLogger obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types