Skip to content
Merged
Prev Previous commit
Next Next commit
update test_update_names to not require slycot
  • Loading branch information
murrayrm committed Jun 30, 2024
commit a402a7ff3aab7db45f620f8ff7e2f5954da53d57
3 changes: 2 additions & 1 deletion control/tests/iosys_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,8 @@ def test_update_names():
sys.update_names(states=3)

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

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