Skip to content

Commit a402a7f

Browse files
committed
update test_update_names to not require slycot
1 parent 8b85747 commit a402a7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

control/tests/iosys_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2160,7 +2160,8 @@ def test_update_names():
21602160
sys.update_names(states=3)
21612161

21622162
with pytest.raises(ValueError, match="number of states does not match"):
2163-
ct.tf(sys).update_names(states=2)
2163+
siso = ct.tf([1], [1, 2, 1])
2164+
ct.tf(siso).update_names(states=2)
21642165

21652166
with pytest.raises(TypeError, match="unrecognized keywords"):
21662167
sys.update_names(dt=1)

0 commit comments

Comments
 (0)