Skip to content

Commit aa6bf84

Browse files
committed
removed a brittle unit test dependency that is already tested elsewhere
1 parent 7a9bcd4 commit aa6bf84

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

control/iosys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# Define module default parameter values
4949
_iosys_defaults = {
50-
'iosys.default_dt': 0}
50+
'iosys.default_dt': None}
5151

5252
class InputOutputSystem(object):
5353
"""A class for representing input/output systems.

control/statesp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
# Define module default parameter values
7272
_statesp_defaults = {
7373
'statesp.use_numpy_matrix': True,
74-
'statesp.default_dt': 0,
74+
'statesp.default_dt': None,
7575
'statesp.remove_useless_states': True,
7676
}
7777

control/tests/xferfcn_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,6 @@ def test_minreal_3(self):
659659
g = TransferFunction([1,1],[1,1]).minreal()
660660
np.testing.assert_array_almost_equal(1.0, g.num[0][0])
661661
np.testing.assert_array_almost_equal(1.0, g.den[0][0])
662-
np.testing.assert_equal(0, g.dt)
663662

664663
def test_minreal_4(self):
665664
"""Check minreal on discrete TFs."""

control/xferfcn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
# Define module default parameter values
7272
_xferfcn_defaults = {
73-
'xferfcn.default_dt': 0}
73+
'xferfcn.default_dt': None}
7474

7575
class TransferFunction(LTI):
7676

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy