def METHOD_NAME(self, shape):
    # for shape=None,
    # In Numpy, pass, returns the flattened 1-D array
    # In cuNumeric, raises TypeError: 'NoneType' object is not iterable
    a = num.array(self.anp)
    assert np.array_equal(
        num.reshape(a, shape),
        np.reshape(self.anp, shape),
    )