Skip to content

Commit 465cfad

Browse files
committed
Easy pyflakes fixes in statefbk.py and statefbk_test.py
1 parent 236c1d4 commit 465cfad

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

control/statefbk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
from . import statesp
4848
from .config import _process_legacy_keyword
4949
from .exception import ControlArgument, ControlDimension, \
50-
ControlNotImplemented, ControlSlycot
50+
ControlSlycot
5151
from .iosys import _process_indices, _process_labels, isctime, isdtime
5252
from .lti import LTI
5353
from .mateqn import _check_shape, care, dare
5454
from .nlsys import NonlinearIOSystem, interconnect
55-
from .statesp import StateSpace, _convert_to_statespace, _ssmatrix, ss
55+
from .statesp import StateSpace, _ssmatrix, ss
5656

5757
# Make sure we have access to the right slycot routines
5858
try:

control/tests/statefbk_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
import pytest
88
import itertools
99
import warnings
10-
from math import pi, atan
10+
from math import pi
1111

1212
import control as ct
13-
from control import lqe, dlqe, poles, rss, ss, tf
13+
from control import poles, rss, ss, tf
1414
from control.exception import ControlDimension, ControlSlycot, \
1515
ControlArgument, slycot_check
1616
from control.mateqn import care, dare
@@ -969,7 +969,6 @@ def unicycle_update(t, x, u, params):
969969
states=['x_', 'y_', 'theta_'],
970970
params={'a': 1}) # only used for testing params
971971

972-
from math import pi
973972

974973
@pytest.mark.parametrize("method", ['nearest', 'linear', 'cubic'])
975974
def test_gainsched_unicycle(unicycle, method):

0 commit comments

Comments
 (0)