code: def test_delitem(self):
      d = self.new_dict(key="value")
  
      # deleting a key with dict.__delitem__() must change the version
      self.check_version_changed(d, d.__delitem__, "key")
  
      # don't change the version if the key doesn't exist
      self.check_version_dont_change(
          d, self.assertRaises, KeyError, d.__delitem__, "key"
      )
  
imports: import unittest
  from test.support import import_helper
label_desc: Use image node_id 12 for calling the DictVersionTests obj's underlying member method code with example usage: obj.test_delitem() without return types