Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
prisae committed Feb 16, 2024
1 parent 44a2654 commit 7a6bf9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,15 +1115,15 @@ def test_print_one_liner(capsys):
_ = solver.solve(model, sfield, sslsolver=True, semicoarsening=False,
linerelaxation=False, verb=1)
out, _ = capsys.readouterr()
assert '3(5); 0:00:' in out
assert '(5); 0:00:' in out
assert '; CONVERGED' in out

# One-liner.
out, _ = capsys.readouterr()
_ = solver.solve(model, sfield, sslsolver=True, semicoarsening=False,
linerelaxation=False, verb=1)
out, _ = capsys.readouterr()
assert '3(5); 0:00:' in out
assert '(5); 0:00:' in out
assert '; CONVERGED' in out


Expand Down

0 comments on commit 7a6bf9d

Please sign in to comment.