Skip to content

Commit cd8bade

Browse files
committed
set strict_ineq_warn to true
1 parent bacad4b commit cd8bade

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

amplpy/tests/test_exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_ampl_exception_methods(self):
9393

9494
def test_throw_on_warning(self):
9595
ampl = self.ampl
96+
ampl.setOption("strict_ineq_warn", True)
9697
with self.assertRaises(amplpy.AMPLException):
9798
ampl.eval("c: 3 > 2;")
9899

0 commit comments

Comments
 (0)