code: def setUpClass(cls):
      super().setUpClass()
      cls._exit_stack.enter_context(
          unittest.mock.patch.dict(os.environ, {"___LOG_TESTING": ""})
      )
      cls._exit_stack.enter_context(
          unittest.mock.patch(
              "torch._dynamo.config.suppress_errors", True
          )
      )
      cls._exit_stack.enter_context(
          unittest.mock.patch("torch._dynamo.config.verbose", False)
      )
  
file_path: pytorch/torch/testing/_internal/logging_utils.py
imports: import torch._dynamo.test_case
  import unittest.mock
  import os
  import contextlib
  import torch._logging
  import torch._logging._internal
  from torch._dynamo.utils import LazyString
  import logging
label_desc: Use image node_id 1 for calling the LoggingTestCase obj's underlying member method code with example usage: obj.setUpClass(cls) without return types