

def test_complex_indices():
    (i, j) = symbols('i j', integer=True)
    A = Indexed('A', i, (i + j))
    assert (A.rank == 2)
    assert (A.indices == (j, (i + j)))

dataset/ETHPy150Open sympy/sympy/sympy/tensor/tests/test_indexed.py test_complex_indices/VarMisuse@55/65 `i`->`j`