GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • control/tests
    • docstrings_test.py
    • modelsimp_test.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎control/tests/docstrings_test.py‎

Copy file name to clipboardExpand all lines: control/tests/docstrings_test.py
+3-1Lines 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)
Collapse file

‎control/tests/modelsimp_test.py‎

Copy file name to clipboardExpand all lines: control/tests/modelsimp_test.py
+2-2Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.