code: def test_type_flags(self):
      for cls in _Pointer, PyCPointerType:
          with self.subTest(cls=cls):
              self.assertTrue(
                  _Pointer.__flags__ & Py_TPFLAGS_IMMUTABLETYPE
              )
              self.assertFalse(
                  _Pointer.__flags__ & Py_TPFLAGS_DISALLOW_INSTANTIATION
              )
  
imports: import _ctypes_test
  import array
  import ctypes
  import sys
  import unittest
  from ctypes import CDLL, CFUNCTYPE, Structure, POINTER, pointer, _Pointer, _pointer_type_cache, byref, sizeof, c_void_p, c_char_p, c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, c_long, c_ulong, c_longlong, c_ulonglong, c_float, c_double
  from ._support import _CData, PyCPointerType, Py_TPFLAGS_DISALLOW_INSTANTIATION, Py_TPFLAGS_IMMUTABLETYPE
label_desc: Use image node_id 2 for calling the PointersTestCase obj's underlying member method code with example usage: obj.test_type_flags() without return types