

def test_simple_complex(self):
    '\n        solve_triangular on a simple 2x2 complex matrix\n        '
    A = array([[(1 + 1j), 0], [1j, 2]])
    b = identity(2)
    sol = solve_triangular(A, b, lower=True, trans=1)
    assert_array_almost_equal(self, [[(0.5 - 0.5j), ((- 0.25) - 0.25j)], [0, 0.5]])

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolveTriangular.test_simple_complex/VarMisuse@61/93 `sol`->`self`