def METHOD_NAME(self, params, libs):
    kwarg, flag, value = params
    lib1, lib2 = libs
    arr1 = lib1.zeros(shape=DIM_CASE)
    kwargs = {kwarg: value}
    arr1.setflags(**kwargs)
    # setting "align" has inconsistent behavior in NumPy
    # but at least check that it's accepted
    if kwarg != "align":
        assert arr1.flags[flag] == value
    arr2 = lib2.asarray(arr1)
    if kwarg != "align":
        assert arr2.flags[flag] == value