def METHOD_NAME(self):
    LargeNamedType = type('T' * 2 ** 25, (Structure,), {})
    self.assertTrue(POINTER(LargeNamedType))
    # to not leak references, we must clean _pointer_type_cache
    from ctypes import _pointer_type_cache
    del _pointer_type_cache[LargeNamedType]