-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Resolve param indices using param values, not parameterset index #11257
base: main
Are you sure you want to change the base?
Conversation
@sadra-barikbin Can you please rebase this on latest main? |
…rmining-param-indices-in-metafunc-parametrize
…rmining-param-indices-in-metafunc-parametrize
to use 'pytester.runpytest' instead of using testing/python/metafunc.py::TestMetafunc::Metafunc to see if coverage get fixed
…rmining-param-indices-in-metafunc-parametrize
…rmining-param-indices-in-metafunc-parametrize
…rmining-param-indices-in-metafunc-parametrize
054a0ae
to
18b7147
Compare
…rmining-param-indices-in-metafunc-parametrize
…-duplicate-values-when-determining-param-indices-in-metafunc-parametrize' into Improvement-catch-duplicate-values-when-determining-param-indices-in-metafunc-parametrize
Apologies but I'll be delayed in reviewing this, I'm still down with a cold It would have been nice to land this in 8.x |
It's alright. I hope you recover soon. |
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.
i think we have to document this better
from my pov we assign parameters that are used multiple times in a expanded/multiplied parameter set the index of the firs occurrence
this can be seen as approximation of a "multi dimensional" index from filtered cross-product
…rmining-param-indices-in-metafunc-parametrize
…rmining-param-indices-in-metafunc-parametrize
@bluetech , could you please review the PR too? |
Hi @sadra-barikbin, do we have any plan to merge this PR, please? cc. @RonnyPfannschmidt |
To compute param indices smarter to have a better reordering experience. Currently we have :
resulting in an improper ordering i.e.
Or we have
resulting in inefficient ordering i.e.
This PR fixes these.
It's a follow-up to #11220 .