Skip to content

Fix loading of defaults during pytest fixture setup #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2020

Conversation

bnavigator
Copy link
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

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

coveralls commented Dec 30, 2020

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
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
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
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit tests do still not use array but matrix by default
3 participants