def METHOD_NAME(a_L_out):
    a, L, out = a_L_out
    A = assemble(a)
    b = assemble(L)
    before = count_refs(LinearSolver)
    solve(A, out, b)
    out.dat.data_ro
    after = count_refs(LinearSolver)
    assert before == after