Skip to content

Commit f2878d5

Browse files
committed
Don't plot in tests...
1 parent f990f40 commit f2878d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/tests/freqresp_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ def test_phase_wrap(TF, wrap_phase, min_phase, max_phase):
378378
def test_phase_wrap_multiple_systems():
379379
sys_unstable = ctrl.zpk([],[1,1], gain=1)
380380

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

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

0 commit comments

Comments
 (0)