Skip to content

Commit 0cd3ac8

Browse files
committed
move away from deprecated scipy namespace
1 parent f0393b7 commit 0cd3ac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control/tests/optimal_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_optimal_logging(capsys):
366366
x0 = [-1, 1]
367367

368368
# Solve it, with logging turned on (with warning due to mixed constraints)
369-
with pytest.warns(sp.optimize.optimize.OptimizeWarning,
369+
with pytest.warns(sp.optimize.OptimizeWarning,
370370
match="Equality and inequality .* same element"):
371371
res = opt.solve_ocp(
372372
sys, time, x0, cost, input_constraint, terminal_cost=cost,

0 commit comments

Comments
 (0)