code: def setup_method(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)
      self.logger = Logger(task_dir=self.temp_dir)
  
file_path: datmo/datmo/tests/test_logger.py
imports: import os
  import tempfile
  import platform
  from datmo.logger import Logger
label_desc: Use image node_id 1 for calling the TestLoggerModule obj's underlying member method code with example usage: obj.setup_method() without return types