code: def test_tooltip_not_overridden_by_function_docstring():
      """
      Test that the tooltip for TaskGroup is the explicitly set value even if the decorated function has a
      docstring.
      """
  
      @dag(start_date=pendulum.datetime(2022, 1, 1))
      def pipeline():
          @task_group(tooltip="tooltip for the TaskGroup")
          def tg():
              """Function docstring."""
  
          tg()
  
      _ = pipeline()
  
      assert (
          _.task_group_dict["tg"].tooltip == "tooltip for the TaskGroup"
      )
  
file_path: airflow/tests/decorators/test_task_group.py
imports: from __future__ import annotations
  from datetime import timedelta
  import pendulum
  import pytest
  from airflow.decorators import dag, task_group
  from airflow.models.expandinput import DictOfListsExpandInput, ListOfDictsExpandInput, MappedArgument
  from airflow.operators.empty import EmptyOperator
  from airflow.utils.task_group import MappedTaskGroup
label_desc: Use image node_id 3 for calling a global function with example usage: test_tooltip_not_overridden_by_function_docstring() without return types