code: def test_configure_trigger_log_handler_not_file_task_handler(
      cfg, cls, msg
  ):
      """
      No root handler configured.
      When non FileTaskHandler is configured, don't modify.
      When an incompatible subclass of FileTaskHandler is configured, don't modify.
      """
      # reset handlers
      root_logger = logging.getLogger()
      clear_logger_handlers(root_logger)
  
      with conf_vars(
          {
              (
                  "logging",
                  "logging_config_class",
              ): f"tests.jobs.test_triggerer_job_logging.{cfg}",
          }
      ):
          importlib.reload(airflow_local_settings)
          configure_logging()
  
      # no root handlers
      assert_handlers(root_logger)
  
      # default task logger
      task_logger = logging.getLogger("airflow.task")
      assert_handlers(task_logger, cls)
  
      # not yet configured to use wrapper
      assert triggerer_job_runner.HANDLER_SUPPORTS_TRIGGERER is False
  
      with warnings.catch_warnings(record=True) as captured:
          triggerer_job_runner.configure_trigger_log_handler()
  
      assert [x.message.args[0] for x in captured] == msg
  
      # after config
      # doesn't use TriggererHandlerWrapper, no change in handler
      assert triggerer_job_runner.HANDLER_SUPPORTS_TRIGGERER is False
  
      # still no root handlers
      assert_handlers(root_logger)
  
imports: from __future__ import annotations
  import importlib
  import logging
  import warnings
  import pytest
  from airflow.config_templates import airflow_local_settings
  from airflow.jobs import triggerer_job_runner
  from airflow.logging_config import configure_logging
  from airflow.providers.amazon.aws.log.s3_task_handler import S3TaskHandler
  from airflow.utils.log.file_task_handler import FileTaskHandler
  from airflow.utils.log.logging_mixin import RedirectStdHandler
  from airflow.utils.log.trigger_handler import DropTriggerLogsFilter, TriggererHandlerWrapper
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 7 for calling a global function with example usage: test_configure_trigger_log_handler_not_file_task_handler(cfg, cls, msg) without return types