Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Oct 7, 2024
1 parent f47470b commit ecf1f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/tests/test_ampl.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def warning(self, exception):
ampl.eval("X X;")

ampl.set_output_handler(OutputHandlerRaise())
with self.assertRaises(RuntimeError):
with self.assertRaises(AssertionError):
ampl.eval("display 1;")

def test_get_output(self):
Expand Down

0 comments on commit ecf1f67

Please sign in to comment.