

@dec.skipif((NumpyVersion(np.__version__) < '1.8.0'))
def test_axis_kwd(self):
    a = np.array(([[[2, 1], [3, 4]]] * 2), 'd')
    assert_allclose(norm(a, axis=1), ([[3.60555128, 4.12310563]] * 2))
    assert_allclose(norm(a, 1, axis=1), ([([5.0] * 2)] * 2))

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestVectorNorms.test_axis_kwd/original