Skip to content

fix: preserve functionality in pytest yield fixtures #579

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
Jul 30, 2025

Conversation

zsh8
Copy link
Contributor

@zsh8 zsh8 commented Jul 28, 2025

Addresses issue #578.

Previously, pytest yield fixtures lost their behavior when decorated, causing test failures. This fix ensures they maintain generator capabilities, yielding as intended.

Addresses issue spulec#578.

Previously, pytest yield fixtures lost their behavior when
decorated, causing test failures. This fix ensures they maintain
generator capabilities, yielding as intended.
@zsh8 zsh8 force-pushed the decorate_generator branch from 3bda481 to 10c93f2 Compare July 28, 2025 19:40
Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for fixing this @zsh8!

@bblommers bblommers merged commit 0d00e7d into spulec:master Jul 30, 2025
15 checks passed
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.

2 participants