

def generic_check(self, ary, expr, desired):
    a = size_check.dummy_array(ary)
    actual = eval(expr).shape
    assert_array_equal(actual, desired, expr)

dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_size_check.py TestDummyArrayIndexing.generic_check/original