GeezerVison is showing github.com — update docstring text for new functions · python-control/python-control@c9a07c1
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: control/tests/docstrings_test.py +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
39 | 39 | control.ss2tf: '8d663d474ade2950dd22ec86fe3a53b7', |
40 | 40 | control.tf: '4e8d21e71312d83ba2e15b9c095fd962', |
41 | 41 | control.tf2ss: '0e5da4f3ed4aaf000f3b454c466f9013', |
| 42 | + control.markov: '47f3b856ec47df84b2af2c165abaabfc', |
| 43 | + control.gangof4: '5e4b4cf815ef76d6c73939070bcd1489', |
42 | 44 | } |
43 | 45 |
|
44 | 46 | # List of keywords that we can skip testing (special cases) |
|
50 | 52 | control.nyquist_response: ['return_contour'], # deprecated |
51 | 53 | control.create_estimator_iosystem: ['state_labels'], # deprecated |
52 | 54 | control.bode_plot: ['sharex', 'sharey', 'margin_info'], # deprecated |
53 | | - control.eigensys_realization: ['arg'], # positional |
| 55 | + control.eigensys_realization: ['arg'], # quasi-positional |
54 | 56 | } |
55 | 57 |
|
56 | 58 | # Decide on the level of verbosity (use -rP when running pytest) |
|
Collapse file
Copy file name to clipboardExpand all lines: control/tests/modelsimp_test.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -54,13 +54,13 @@ def testMarkovSignature(self): |
54 | 54 | with pytest.raises(ControlArgument): |
55 | 55 | H = markov() |
56 | 56 |
|
57 | | - # to many positional arguments |
| 57 | + # too many positional arguments |
58 | 58 | with pytest.raises(ControlArgument): |
59 | 59 | H = markov(Y,U,m,1) |
60 | 60 | with pytest.raises(ControlArgument): |
61 | 61 | H = markov(response,m,1) |
62 | 62 |
|
63 | | - # to many positional arguments |
| 63 | + # too many positional arguments |
64 | 64 | with pytest.raises(ControlDimension): |
65 | 65 | U2 = np.hstack([U,U]) |
66 | 66 | H = markov(Y,U2,m) |
|