Fix loading of defaults during pytest fixture setup by bnavigator · Pull Request #489 · python-control/python-control

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@bnavigator

Copy link Copy Markdown

Contributor

Also make matarrayout and matarrayin function scoped fixtures so
that they can set the warnings filters individually as needed for
each test.

Fixes #488

Also make matarrayout and matarrayin function scoped fixtures so
that they can set the warnings filters individually as needed for
each test.

@coveralls

Copy link Copy Markdown

Coverage Status

Coverage decreased (-0.2%) to 86.839% when pulling abf1565 on bnavigator:fix-defaults into d66f4e4 on python-control:master.

@coveralls

Copy link Copy Markdown

coveralls commented

Dec 30, 2020

edited

Loading

Coverage Status

Coverage decreased (-0.06%) to 86.98% when pulling abf1565 on bnavigator:fix-defaults into d66f4e4 on python-control:master.

@murrayrm

Copy link Copy Markdown

Member

I'm not enough of a pytest guru (yet -:) to understand this in detail. OK by me to merge unless you feel that someone else should have a closer look first.

@bnavigator

Copy link Copy Markdown

Contributor Author

I think I tested it thoroughly on my local machine. Given that it affects only the test suite and not the end user I feel confident enough to merge it with "just" your OK.

@bnavigator

Copy link Copy Markdown

Contributor Author

Meh, the 3 uncovered lines in freqplot need some investigation before merging.

@bnavigator bnavigator merged commit bbb2e36 into python-control:master

Dec 31, 2020

@bnavigator bnavigator deleted the fix-defaults branch

January 5, 2021 20:13

@murrayrm murrayrm added this to the 0.9.0 milestone

Mar 20, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

0.9.0

Development

Successfully merging this pull request may close these issues.

Unit tests do still not use array but matrix by default

3 participants

@bnavigator @coveralls @murrayrm