Skip to content

Commit 19a8d5c

Browse files
committed
remove rendudant (and improperly implemented) Nyquist unit test
1 parent a377bdc commit 19a8d5c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

control/tests/nyquist_test.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ def test_nyquist_basic():
144144
else:
145145
pytest.fails("multiple warnings in nyquist_response (?)")
146146

147-
# Nyquist plot with poles on imaginary axis, omega specified, with contour
148-
sys = ct.tf([1], [1, 3, 2]) * ct.tf([1], [1, 0, 1])
149-
with pytest.warns(UserWarning, match="does not match") as records:
150-
count, contour = ct.nyquist_response(
151-
sys, np.linspace(1e-3, 1e1, 1000), return_contour=True)
152-
if len(records) == 0:
153-
assert _Z(sys) == count + _P(sys)
154-
155147
# Nyquist plot with poles on imaginary axis, return contour
156148
sys = ct.tf([1], [1, 3, 2]) * ct.tf([1], [1, 0, 1])
157149
count, contour = ct.nyquist_response(sys, return_contour=True)

0 commit comments

Comments
 (0)