

def test_calculated_index(self):
    a = np.arange(10)
    nx = 0
    expr = 'a[5] + a[nx+3]'
    size_check.check_expr(expr, locals())

dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_size_check.py TestExpressions.test_calculated_index/original