

def test_2d_1(self):
    a = np.ones((5, 10))
    actual = size_check.reduction(a, 1)
    desired = size_check.dummy_array((5,), 1)
    assert_array_equal(actual.shape, desired.shape)

dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_size_check.py TestReduction.test_2d_1/original