-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Avoid parametrizing tests with itertools.product()
#18110
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
Comments
Hi @eerovaher can I help into this, I looked into the issue and the #18109 and I understood how to fix that all! |
kindly have a look : #18142 |
hi @jsdingra11, |
Hi @jch1013, |
Thanks! Appreciate it! |
There are some parametrized tests that use
itertools.product()
for generating parametrizations. However, in many cases they could instead use stacked@pytest.mark.parametrize()
decorators, which can often be written down using fewer lines and might remove the need to importitertools
in the test file.#18109 is an example of what a pull request addressing this issue might look like.
List of files to update
It might be a good idea to update one sub-package per pull request.
The text was updated successfully, but these errors were encountered: