1919from control .config import defaults
2020from control .dtime import sample_system
2121from control .lti import evalfr
22- from control .statesp import (StateSpace , _convert_to_statespace , _rss_generate ,
23- _statesp_defaults , drss , linfnorm , rss , ss , tf2ss )
24- from control .tests .conftest import (assert_tf_close_coeff , editsdefaults ,
25- slycotonly )
22+ from control .statesp import StateSpace , _convert_to_statespace , tf2ss , \
23+ _statesp_defaults , _rss_generate , linfnorm , ss , rss , drss
2624from control .xferfcn import TransferFunction , ss2tf
25+ from control .tests .conftest import assert_tf_close_coeff , editsdefaults , \
26+ slycotonly
2727
2828
2929class TestStateSpace :
@@ -1515,13 +1515,15 @@ def dt_siso(self, request):
15151515 return ct .c2d (systype (* sysargs ), dt ), refgpeak , reffpeak
15161516
15171517 @slycotonly
1518+ @pytest .mark .usefixtures ('ignore_future_warning' )
15181519 def test_linfnorm_ct_siso (self , ct_siso ):
15191520 sys , refgpeak , reffpeak = ct_siso
15201521 gpeak , fpeak = linfnorm (sys )
15211522 np .testing .assert_allclose (gpeak , refgpeak )
15221523 np .testing .assert_allclose (fpeak , reffpeak )
15231524
15241525 @slycotonly
1526+ @pytest .mark .usefixtures ('ignore_future_warning' )
15251527 def test_linfnorm_dt_siso (self , dt_siso ):
15261528 sys , refgpeak , reffpeak = dt_siso
15271529 gpeak , fpeak = linfnorm (sys )
@@ -1530,6 +1532,7 @@ def test_linfnorm_dt_siso(self, dt_siso):
15301532 np .testing .assert_allclose (fpeak , reffpeak )
15311533
15321534 @slycotonly
1535+ @pytest .mark .usefixtures ('ignore_future_warning' )
15331536 def test_linfnorm_ct_mimo (self , ct_siso ):
15341537 siso , refgpeak , reffpeak = ct_siso
15351538 sys = ct .append (siso , siso )
0 commit comments