Skip to content

Commit f990f40

Browse files
committed
PEP8 requires lowercase variable name
1 parent 2afd397 commit f990f40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

control/tests/freqresp_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,13 @@ def test_phase_wrap(TF, wrap_phase, min_phase, max_phase):
376376

377377

378378
def test_phase_wrap_multiple_systems():
379-
G = ctrl.zpk([],[1,1], gain=1)
379+
sys_unstable = ctrl.zpk([],[1,1], gain=1)
380380

381-
mag, phase, omega = ctrl.bode(G)
381+
mag, phase, omega = ctrl.bode(sys_unstable)
382382
assert(np.min(phase) >= -2*np.pi)
383383
assert(np.max(phase) <= -1*np.pi)
384384

385-
mag, phase, omega = ctrl.bode((G,G))
385+
mag, phase, omega = ctrl.bode((sys_unstable, sys_unstable))
386386
assert(np.min(phase) >= -2*np.pi)
387387
assert(np.max(phase) <= -1*np.pi)
388388

0 commit comments

Comments
 (0)