Skip to content
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

fixtures: document FixtureDef's attributes #9546

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

bluetech
Copy link
Member

Also a refactor commit to make some code flow clearer.

This conflicts with #9420 so not meant for merging right away.

Make the two cases (direct/indirect fixture) clearer. The try-catch
forces the reader to jump around.
@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Feb 15, 2022
@bluetech bluetech merged commit bdbad91 into pytest-dev:main Feb 15, 2022
@bluetech
Copy link
Member Author

@nicoddemus Thanks for the review.

This is just some internal docs so I'm going to skip the backport.

@nicoddemus
Copy link
Member

Wouldn't be better to do it anyway to avoid any potential conflicts?

@bluetech
Copy link
Member Author

I personally prefer to deal with conflicts if/when they happen.

@bluetech bluetech deleted the fixturedef-attr-doc branch February 23, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants