code: def setup_class(self):
      # provide mountable tmp directory for docker
      tempfile.tempdir = (
          "/tmp" if not platform.system() == "Windows" else None
      )
      test_datmo_dir = os.environ.get(
          "TEST_DATMO_DIR", tempfile.gettempdir()
      )
      self.temp_dir = tempfile.mkdtemp(dir=test_datmo_dir)
      # Delete previous singletons for logger if present
      if hasattr(DatmoLogger, "instance"):
          del DatmoLogger.instance
      DatmoLogger(dirpath=self.temp_dir)
  
file_path: datmo/datmo/core/util/tests/test_logger.py
imports: import os
  import uuid
  import tempfile
  import platform
  from time import sleep
  from datmo.core.util.logger import DatmoLogger
label_desc: Use image node_id 1 for calling the TestLogger obj's underlying member method code with example usage: obj.setup_class() without return types