8000 skip doctests with rounding errors in GitHub Actions · python-control/python-control@df38286 · GitHub
[go: up one dir, main page]

Skip to content

Commit df38286

Browse files
committed
skip doctests with rounding errors in GitHub Actions
1 parent 983cbc0 commit df38286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/canonical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def canonical_form(xsys, form='reachable'):
5151
array([[1., 0.]])
5252
5353
>>> Gc, T = ct.canonical_form(Gs, 'modal')
54-
>>> Gc.A
54+
>>> Gc.A # doctest: +SKIP
5555
array([[-2., 0.],
5656
[ 0., -1.]])
5757
@@ -508,7 +508,7 @@ def modal_form(xsys, condmax=None, sort=False):
508508
--------
509509
>>> Gs = ct.tf2ss([1], [1, 3, 2])
510510
>>> Gc, T = ct.modal_form(Gs) # default reachable
511-
>>> Gc.A
511+
>>> Gc.A # doctest: +SKIP
512512
array([[-2., 0.],
513513
[ 0., -1.]])
514514

0 commit comments

Comments
 (0)
0