def METHOD_NAME(self, dtype):
    scalar = 1 + 1j if numpy.dtype(dtype).kind == 'c' else 1
    x_1d = cupy.array([scalar]).astype(dtype)
    assert complex(x_1d) == scalar
    x_0d = x_1d.reshape(())
    assert complex(x_0d) == scalar