Skip to content

Commit de52193

Browse files
committed
update xferfcn mimo tests to require slycot
1 parent 9f7fce5 commit de52193

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

control/tests/xferfcn_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,14 @@ def test_printing(self):
715715
self.assertTrue(isinstance(str(sys), str))
716716
self.assertTrue(isinstance(sys._repr_latex_(), str))
717717

718+
@unittest.skipIf(not slycot_check(), "slycot not installed")
719+
def test_printing_mimo(self):
718720
# MIMO, continuous time
719721
sys = ss2tf(rss(4, 2, 3))
720722
self.assertTrue(isinstance(str(sys), str))
721723
self.assertTrue(isinstance(sys._repr_latex_(), str))
722724

725+
@unittest.skipIf(not slycot_check(), "slycot not installed")
723726
def test_size_mismatch(self):
724727
sys1 = ss2tf(rss(2, 2, 2))
725728

0 commit comments

Comments
 (0)