code: def test_nested_dict_field():
      hp = Trickier()
      hp.override_from_json(dict(nested_dict_field=dict(a=[])))
      assert hp == Trickier.from_json(
          dict(nested_dict_field=dict(a=[]))
      )
      assert hp.nested_dict_field == dict(a=[])
      with pytest.raises(TypeError):
          # b should be list of Simple, not integer
          hp.override_from_json(
              dict(nested_dict_field=dict(a=[], b=[2]))
          )
      hp.override_from_json(
          dict(nested_dict_field=dict(a=[], b=[Simple()]))
      )
      assert hp.to_json() == dict(
          dict_field=None,
          tuple_list_field=None,
          list_tuple_field=None,
          nested_dict_field=dict(a=[], b=[Simple().to_json()]),
      )
  
imports: from dataclasses import dataclass, field
  from typing import Optional, Dict, List, Tuple, Union
  import pytest
  from summarize_from_feedback.utils import hyperparams
label_desc: Use image node_id 11 for calling a global function with example usage: test_nested_dict_field() without return types