We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78ff0b commit cfb8d60Copy full SHA for cfb8d60
pyomo/contrib/parmest/tests/test_parmest.py
@@ -155,8 +155,8 @@ def label_model(self):
155
if self.objective_function == "incorrect_obj":
156
with pytest.raises(
157
ValueError,
158
- match="Invalid objective function: 'incorrect_obj'\. "
159
- "Choose from \['SSE', 'SSE_weighted'\]\.",
+ match=r"Invalid objective function: 'incorrect_obj'\. "
+ r"Choose from \['SSE', 'SSE_weighted'\]\.",
160
):
161
self.pest = parmest.Estimator(
162
self.exp_list, obj_function=self.objective_function, tee=True
0 commit comments