Skip to content

Commit 88816e0

Browse files
committed
Resolve bad regex
1 parent 4c9e4d1 commit 88816e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/contrib/solver/tests/solvers/test_ipopt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ def test_bad_executable(self):
18721872
solver.config.executable.rehash()
18731873
with self.assertRaisesRegex(
18741874
ApplicationError,
1875-
f"Could not execute the command: \['{exe}'.*"
1875+
f"Could not execute the command: \\['{exe}'.*"
18761876
f"Error message: .*No such file or directory: '{exe}'",
18771877
):
18781878
solver.solve(m)

0 commit comments

Comments
 (0)