Skip to content

Commit d4bcf75

Browse files
Fix Python solver error message regression test
Update the regression assertion to match the current actionable\nbinding message raised when set_initial_trajectory is called\nbefore a dynamical system is configured.
1 parent d3b220b commit d4bcf75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tests/test_solver_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_set_initial_trajectory_requires_dynamical_system():
6161
X = [np.zeros(2) for _ in range(solver.horizon + 1)]
6262
U = [np.zeros(1) for _ in range(solver.horizon)]
6363

64-
with pytest.raises(ValueError, match="requires a dynamical system"):
64+
with pytest.raises(ValueError, match="is a dynamical system set"):
6565
solver.set_initial_trajectory(X, U)
6666

6767

0 commit comments

Comments
 (0)