

def test_check_finite(self):
    '\n        solve_triangular on a simple 2x2 matrix.\n        '
    A = array([[1, 0], [1, 2]])
    b = [1, 1]
    sol = solve_triangular(A, b, lower=True, check_finite=False)
    assert_array_almost_equal(sol, [1, 0])

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolveTriangular.test_check_finite/original