code: def test_class_getitem_inheritance_2(self):
      class C:
          def __class_getitem__(cls, item):
              return "Should not see this"
  
      class D(C):
          def __class_getitem__(cls, item):
              return f"{cls.__name__}[{item.__name__}]"
  
      self.assertEqual(D[int], "D[int]")
      self.assertEqual(D[D], "D[D]")
  
imports: import unittest
  from test import support
label_desc: Use image node_id 4 for calling the TestClassGetitem obj's underlying member method code with example usage: obj.test_class_getitem_inheritance_2() and returns: str, cls, str, item, str