def METHOD_NAME(self):
    # Array types are cached internally in the _ctypes extension,
    # in a WeakValueDictionary.  Make sure the array type is
    # removed from the cache when the itemtype goes away.  This
    # test will not fail, but will show a leak in the testsuite.
    # Create a new type:
    class my_int(c_int):
        pass
    # Create a new array type based on it:
    t1 = my_int * 1
    t2 = my_int * 1
    self.assertIs(t1, t2)