-
Notifications
You must be signed in to change notification settings - Fork 357
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
Improve parameter test and implementation #2628
Improve parameter test and implementation #2628
Conversation
…style type error for unsupported paramert combinations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me, the parametrize
lines are really hard to read. I have added a suggestion to make them easier.
Co-authored-by: Jochen Martin Eppler <jougs@gmx.net>
@jougs I have now applied your suggestion to the remaining tests as well. I changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think this is very nice now.
@jougs Could you resolve the conversations so we can merge? |
As a step towards developing good test styles, this PR provides a re-write of
test_parameter.py
using PyTest features. It extends the scope of the tests and includes minor fixes: