code: def test_frozen_dict(self):
      self.assertEqual(
          frozendict({1: 2, 4: 7}), frozendict({1: 2, 4: 7})
      )
      my_frozen_dict = frozendict({"a": "apple", "h": "hail"})
      self.assertEqual(my_frozen_dict["a"], "apple")
  
      # Make sure mutating old dict doesn't change frozen counterpart.
      regular_dict = {"a": "b"}
      frozen_counterpart = frozendict(regular_dict)
      regular_dict["a"] = "d"
      self.assertEqual(frozen_counterpart["a"], "b")
  
      with pytest.raises(
          TypeError, match="does not support item assignment"
      ):
          my_frozen_dict["a"] = "b"
  
imports: import json
  import unittest
  import hail
  from hail.utils import *
  from hail.utils.misc import escape_str, escape_id
  from hail.utils.java import FatalError
  from hail.utils.linkedlist import LinkedList
  from ..helpers import *
label_desc: Use image node_id 24 for calling the Tests obj's underlying member method code with example usage: obj.test_frozen_dict() without return types