code: def test_priority():
      @annotate(annotate="annotate", kwarg="annotate")
      def f(kwarg="default", annotate="default", default="default"):
          pass
  
      c = interactive(f, kwarg="kwarg")
      check_widgets(
          c,
          kwarg=dict(
              cls=widgets.Text,
              value="kwarg",
          ),
          annotate=dict(
              cls=widgets.Text,
              value="annotate",
          ),
      )
  
imports: from __future__ import print_function
  import os
  from collections import OrderedDict
  import pytest
  import ipywidgets
  from traitlets import TraitError
  from ipywidgets import interact, interact_manual, interactive, interaction, Output
  from ipython_genutils.py3compat import annotate
  from .utils import setup, teardown
label_desc: Use image node_id 23 for calling a global function with example usage: test_priority() without return types