code: def test_c_class(self):
      from _testcapi import Generic, GenericAlias
  
      self.assertIsInstance(
          Generic.__class_getitem__(int), GenericAlias
      )
  
      IntGeneric = Generic[int]
      self.assertIs(type(IntGeneric), GenericAlias)
      self.assertEqual(IntGeneric.__mro_entries__(()), (int,))
  
      class C(IntGeneric):
          pass
  
      self.assertEqual(C.__bases__, (int,))
      self.assertEqual(C.__orig_bases__, (IntGeneric,))
      self.assertEqual(C.__mro__, (C, int, object))
  
imports: import unittest
  from test import support
label_desc: Use image node_id 1 for calling the CAPITest obj's underlying member method code with example usage: obj.test_c_class() without return types