From fcb2af0ff0a7527cfa9e752ae085f363d469463c Mon Sep 17 00:00:00 2001 From: Richard Murray Date: Fri, 21 Dec 2018 15:02:42 -0800 Subject: [PATCH] skip TF indexing test if no slycot --- control/tests/xferfcn_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/control/tests/xferfcn_test.py b/control/tests/xferfcn_test.py index 0d208c6db..44953e731 100644 --- a/control/tests/xferfcn_test.py +++ b/control/tests/xferfcn_test.py @@ -536,6 +536,7 @@ def testMIMO(self): np.testing.assert_array_almost_equal(H.num[1][0], H2.num[1][0]) np.testing.assert_array_almost_equal(H.den[1][0], H2.den[1][0]) + @unittest.skipIf(not slycot_check(), "slycot not installed") def testIndexing(self): tm = ss2tf(rss(5, 3, 3))