code: def test_expand_kwargs_no_wildcard():
      @dag(start_date=pendulum.datetime(2022, 1, 1))
      def pipeline():
          @task_group()
          def tg(**kwargs):
              pass
  
          tg.expand_kwargs([])
  
      with pytest.raises(TypeError) as ctx:
          pipeline()
  
      assert (
          str(ctx.value)
          == "calling expand_kwargs() on task group function with * or ** is not supported"
      )
  
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 7 for calling a global function with example usage: test_expand_kwargs_no_wildcard() without return types