code: def test_global_hook_delete(self):
      # Deleted hook should not be called
  
      model, x, dot = self._create_model_and_data()
      hook = MyLinkHook()
  
      with hook:
          pass
      model(chainer.Variable(x), "foo", test2="bar")
  
      assert len(hook.added_args) == 1
      assert len(hook.deleted_args) == 1
      assert len(hook.forward_preprocess_args) == 0
      assert len(hook.forward_postprocess_args) == 0
  
imports: import time
  import unittest
  import numpy
  import chainer
  from chainer import testing
label_desc: Use image node_id 8 for calling the TestLinkHook obj's underlying member method code with example usage: obj.test_global_hook_delete() without return types