

def test_var_ddof():
    B = npr.randn(3)
    C = npr.randn(3, 4)
    D = npr.randn(1, 3)
    combo_check(np.var, (0,), [D, C, D], axis=[None], keepdims=[True, False], ddof=[0, 1])
    combo_check(np.var, (0,), [C, D], axis=[None, 1], keepdims=[True, False], ddof=[2])

dataset/ETHPy150Open HIPS/autograd/tests/test_numpy.py test_var_ddof/VarMisuse@52/60 `B`->`D`