Skip to content

Add note about fixture teardown and SIGTERM and SIGQUIT signals #9150

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

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

nicoddemus
Copy link
Member

Close #9141

cc @gsmethells

@gsmethells
Copy link

@nicoddemus LGTM 👍🏻

and changing them might interfere with the code under execution.

If fixtures in your suite need special care regarding termination in those scenarios,
see `this comment <https://github.com/pytest-dev/pytest/issues/5243#issuecomment-491522595>`__ in the issue
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is to change this to a link to a plugin if one gets published.

@nicoddemus nicoddemus merged commit c4557c3 into pytest-dev:main Oct 4, 2021
@nicoddemus nicoddemus deleted the issue-9141-fixture-docs branch October 4, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it clear in the documentation that fixtures are not suitable for managing resource lifecycles
3 participants