

@dec.skipif((NumpyVersion(np.__version__) < '1.10.0'))
def test_keepdims_kwd(self):
    a = np.arange(120, dtype='d').reshape(2, 3, 4, 5)
    b = norm(b, ord=np.inf, axis=(1, 0), keepdims=True)
    c = norm(a, ord=1, axis=(0, 1), keepdims=True)
    assert_allclose(b, c)
    assert_((b.shape == c.shape))

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestMatrixNorms.test_keepdims_kwd/VarMisuse@55/71 `a`->`b`