def test_check_finite(self):
        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])
solve_triangular on a simple 2x2 matrix.
dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py/TestSolveTriangular.test_check_finite