Skip to content

Commit c9a07c1

Browse files
committed
update docstring text for new functions
1 parent bbe301a commit c9a07c1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

control/tests/docstrings_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
control.ss2tf: '8d663d474ade2950dd22ec86fe3a53b7',
4040
control.tf: '4e8d21e71312d83ba2e15b9c095fd962',
4141
control.tf2ss: '0e5da4f3ed4aaf000f3b454c466f9013',
42+
control.markov: '47f3b856ec47df84b2af2c165abaabfc',
43+
control.gangof4: '5e4b4cf815ef76d6c73939070bcd1489',
4244
}
4345

4446
# List of keywords that we can skip testing (special cases)
@@ -50,7 +52,7 @@
5052
control.nyquist_response: ['return_contour'], # deprecated
5153
control.create_estimator_iosystem: ['state_labels'], # deprecated
5254
control.bode_plot: ['sharex', 'sharey', 'margin_info'], # deprecated
53-
control.eigensys_realization: ['arg'], # positional
55+
control.eigensys_realization: ['arg'], # quasi-positional
5456
}
5557

5658
# Decide on the level of verbosity (use -rP when running pytest)

control/tests/modelsimp_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ def testMarkovSignature(self):
5454
with pytest.raises(ControlArgument):
5555
H = markov()
5656

57-
# to many positional arguments
57+
# too many positional arguments
5858
with pytest.raises(ControlArgument):
5959
H = markov(Y,U,m,1)
6060
with pytest.raises(ControlArgument):
6161
H = markov(response,m,1)
6262

63-
# to many positional arguments
63+
# too many positional arguments
6464
with pytest.raises(ControlDimension):
6565
U2 = np.hstack([U,U])
6666
H = markov(Y,U2,m)

0 commit comments

Comments
 (0)