code: def test_custom_description():
      d = {}
  
      def record_kwargs(**kwargs):
          d.clear()
          d.update(kwargs)
  
      c = interactive(
          record_kwargs, b=widgets.Text(value="text", description="foo")
      )
      w = c.children[0]
      check_widget(
          w,
          cls=widgets.Text,
          value="text",
          description="foo",
      )
      w.value = "different text"
      assert d == {"b": "different text"}
  
imports: from unittest.mock import patch
  import os
  from collections import OrderedDict
  import pytest
  import ipywidgets
  from traitlets import TraitError, Float
  from ipywidgets import interact, interact_manual, interactive, interaction, Output, Widget
  from .utils import setup, teardown
label_desc: Use image node_id 29 for calling a global function with example usage: test_custom_description() without return types