8000 turn off nonsquare zero unit test when slycot is not installed · MaxGaukler/python-control@5aa1f77 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5aa1f77

Browse files
committed
turn off nonsquare zero unit test when slycot is not installed
1 parent 115223e commit 5aa1f77

File tree

1 file 8000 changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

control/tests/statesp_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def testPole(self):
4242

4343
np.testing.assert_array_almost_equal(p, true_p)
4444

45-
def testZero(self):
45+
@unittest.skipIf(not slycot_check(), "slycot not installed")
46+
def testMIMOZero_nonsquare(self):
4647
"""Evaluate the zeros of a MIMO system."""
4748

4849
z = np.sort(self.sys1.zero())

0 commit comments

Comments
 (0)
0