-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Prevent parametrize with scope from breaking fixture dependencies #13249
base: main
Are you sure you want to change the base?
Conversation
# fixture. Scope control is enforced for parametrized fixtures | ||
# by recreating the whole fixture tree on parameter change. | ||
# Hence `fixturedef._scope`, not `scope`. | ||
self._check_scope(fixturedef, fixturedef._scope) | ||
subrequest = SubRequest( |
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 need to validate what we do with subrequest there
The feature is slightly inconsistent and confused me
But I believe that's fine to do as a followup
I want to dig at history a bit before merge tho
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 @Anton3!
Leaving merging to @RonnyPfannschmidt as requested. 👍
Closes #13248