docstr: Tests if the decorator correctly handles an empty list
  of exception types to suppress.
docstr_tok: ["Tests","if","the","decorator","correctly","handles","an","empty","list","of","exception","types","to","suppress","."]
code: def test_empty_exception_type_tuple(self) -> None:
      """
      Tests if the decorator correctly handles an empty list
      of exception types to suppress.
      """
  
      # Also pass along the logger to ensure coverage
      logger = logging.getLogger("test_message_checking")
  
      class DecoratorTester:
          @retry_on_exception(
              default_return_on_suppression="SUCCESS",
              exception_types=(),
              logger=logger,
              suppress_all_errors=False,
          )
          def error_throwing_function(self) -> None:
              # The exception thrown below should not be caught
              # because we specified an empty list.
              raise RuntimeError("Hello World")
  
      decorator_tester = DecoratorTester()
      with self.assertRaises(RuntimeError):
          decorator_tester.error_throwing_function()
  
file_path: Ax/ax/utils/common/tests/test_executils.py
imports: import logging
  import time
  from asyncio import iscoroutinefunction
  from unittest.mock import Mock
  from ax.utils.common.executils import retry_on_exception
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 4 for calling the TestRetryDecorator obj's underlying member method code with example usage: obj.test_empty_exception_type_tuple() without return types