def METHOD_NAME(self, shapeB):
    # For shape of (0,), (2,), (1, 2),
    # In Numpy, it raises ValueError
    # In cuNumeric, it pass
    expected_exc = ValueError
    A = 5
    B_np = mk_0to1_array(np, shapeB)
    with pytest.raises(expected_exc):
        np.vdot(A, B_np)
    B_num = mk_0to1_array(num, shapeB)
    with pytest.raises(expected_exc):
        num.vdot(A, B_num)