Skip to content

prevent Config.add_cleanup callbacks preventing other cleanups running#12982

Merged
nicoddemus merged 8 commits intomainfrom
fix-config-callbacks
Nov 24, 2024
Merged

prevent Config.add_cleanup callbacks preventing other cleanups running#12982
nicoddemus merged 8 commits intomainfrom
fix-config-callbacks

Conversation

@graingert
Copy link
Member

closes #12981

@graingert graingert force-pushed the fix-config-callbacks branch from aa1e3b3 to 33234ef Compare November 21, 2024 09:50
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Nov 21, 2024
@graingert graingert marked this pull request as ready for review November 21, 2024 14:38
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Thanks @graingert!

Will squash/merge soon to give others a chance to review. 👍

@nicoddemus nicoddemus merged commit 4f777ff into main Nov 24, 2024
@nicoddemus nicoddemus deleted the fix-config-callbacks branch November 24, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

raising an exception in a callback to pytest.Config.add_cleanup doesn't allow subsequent cleanups to run.

2 participants