code: def test_dict():
      for d in [
          dict(a=5),
          dict(a=5, b="b", c=dict),
      ]:
          c = interactive(f, d=d)
          w = c.children[0]
          check = dict(
              cls=widgets.Dropdown,
              description="d",
              value=next(iter(d.values())),
              options=d,
              _options_labels=tuple(d.keys()),
              _options_values=tuple(d.values()),
          )
          check_widget(w, **check)
  
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 14 for calling a global function with example usage: test_dict() without return types