Skip to content

Commit

Permalink
run black again
Browse files Browse the repository at this point in the history
  • Loading branch information
DLWoodruff committed Apr 17, 2024
1 parent ed526db commit 1739d99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyomo/contrib/iis/tests/test_mis.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def _get_infeasible_model():

return m


def _get_feasible_model():
m = pyo.ConcreteModel("Trivial Feasible Quad")
m.x = pyo.Var([1, 2], bounds=(0, 1))
Expand Down Expand Up @@ -65,9 +66,8 @@ def test__get_constraint_errors(self):
def test_feasible_model(self):
m = _get_feasible_model()
opt = pyo.SolverFactory("ipopt")
self.assertRaises(Exception,
mis.compute_infeasibility_explanation, m, opt)

self.assertRaises(Exception, mis.compute_infeasibility_explanation, m, opt)


def _check_output(file_name):
# pretty simple check for now
Expand Down

0 comments on commit 1739d99

Please sign in to comment.