Skip to content

print(sys) / str(sys) for StateSpace and TransferFunction#426

Merged
murrayrm merged 6 commits into
python-control:masterfrom
bnavigator:recover-str
Jul 11, 2020
Merged

print(sys) / str(sys) for StateSpace and TransferFunction#426
murrayrm merged 6 commits into
python-control:masterfrom
bnavigator:recover-str

Conversation

@bnavigator

Copy link
Copy Markdown
Contributor

PR #425 removes the coverage of some code due to not printing into the void during unit tests. So here are some new tests for the .__str__() methods of the StateSpace and TransferFunction objects. FrequencyResponseData seems to be covered by #416.

I also fixed the indentation for the state space matrices and removed some obsolete check for trailing 0000 that would never be produced by the general format %.4g.

@bnavigator bnavigator changed the title print(sys)/str(sys) for StateSpace and TranferFunction print(sys) / str(sys) for StateSpace and TransferFunction Jul 2, 2020
@coveralls

coveralls commented Jul 2, 2020

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 84.278% when pulling 0c4aa9d on bnavigator:recover-str into a9d869e on python-control:master.

@murrayrm murrayrm merged commit d5666d5 into python-control:master Jul 11, 2020
@bnavigator bnavigator deleted the recover-str branch July 26, 2020 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants