'solve_triangular on a simple 2x2 matrix.'

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])
