Skip to content

Commit e0521b9

Browse files
committed
add mplcleanup to fix nichols error
1 parent 078e028 commit e0521b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/tests/matlab_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ def test_matlab_wrapper_exceptions(self):
818818
with pytest.raises(ValueError, match="needs either 1, 2, 3 or 4"):
819819
dcgain(1, 2, 3, 4, 5)
820820

821-
def test_matlab_freqplot_passthru(self):
821+
def test_matlab_freqplot_passthru(self, mplcleanup):
822822
"""Test nyquist and bode to make sure the pass arguments through"""
823823
sys = tf([1], [1, 2, 1])
824824
bode((sys,)) # Passing tuple will call bode_plot

0 commit comments

Comments
 (0)