code: def test_type_flags(self):
      for cls in Array, PyCArrayType:
          with self.subTest(cls=cls):
              self.assertTrue(cls.__flags__ & Py_TPFLAGS_IMMUTABLETYPE)
              self.assertFalse(
                  cls.__flags__ & Py_TPFLAGS_DISALLOW_INSTANTIATION
              )
  
imports: import ctypes
  import sys
  import unittest
  import warnings
  from ctypes import Structure, Array, sizeof, addressof, create_string_buffer, create_unicode_buffer, c_char, c_wchar, c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, c_long, c_ulonglong, c_float, c_double, c_longdouble
  from test.support import bigmemtest, _2G
  from ._support import _CData, PyCArrayType, Py_TPFLAGS_DISALLOW_INSTANTIATION, Py_TPFLAGS_IMMUTABLETYPE
label_desc: Use image node_id 2 for calling the ArrayTestCase obj's underlying member method code with example usage: obj.test_type_flags() without return types