Skip to content

Commit 25e9474

Browse files
committed
pytest.fails -> pytest.fail in nyquist_test.py
1 parent f94b9cf commit 25e9474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/tests/nyquist_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_nyquist_basic():
142142
assert issubclass(records[0].category, UserWarning)
143143
assert "encirclements does not match" in str(records[0].message)
144144
else:
145-
pytest.fails("multiple warnings in nyquist_response (?)")
145+
pytest.fail("multiple warnings in nyquist_response (?)")
146146

147147
# Nyquist plot with poles on imaginary axis, return contour
148148
sys = ct.tf([1], [1, 3, 2]) * ct.tf([1], [1, 0, 1])

0 commit comments

Comments
 (0)