code: def test_task_group_with_overridden_kwargs():
      @task_group(
          default_args={
              "params": {
                  "x": 5,
                  "y": 5,
              },
          },
          add_suffix_on_collision=True,
      )
      def simple_tg():
          ...
  
      tg_with_overridden_kwargs = simple_tg.override(
          group_id="custom_group_id",
          default_args={
              "params": {
                  "x": 10,
              },
          },
      )
  
      assert tg_with_overridden_kwargs.tg_kwargs == {
          "group_id": "custom_group_id",
          "default_args": {
              "params": {
                  "x": 10,
              },
          },
          "add_suffix_on_collision": True,
      }
  
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 1 for calling a global function with example usage: test_task_group_with_overridden_kwargs() without return types