Skip to content

Conversation

@jab
Copy link
Contributor

@jab jab commented Nov 22, 2020

Just took this project for a spin for the first time and noticed this while reading the code.

Quoting https://docs.pytest.org/en/stable/yieldfixture.html:

Since pytest-3.0, fixtures using the normal fixture decorator can use a yield statement to provide fixture values and execute teardown code, exactly like yield_fixture in previous versions.

Marking functions as yield_fixture is still supported, but deprecated and should not be used in new code.

Hope this helps, and thanks for maintaining pytest-flask!

@northernSage northernSage self-requested a review November 22, 2020 23:13
@northernSage northernSage merged commit ab701b3 into pytest-dev:master Nov 22, 2020
@northernSage
Copy link
Member

By the way, thanks a lot for your contribution @jab 👍🏻

@jab
Copy link
Contributor Author

jab commented Nov 26, 2020

My pleasure, and thank you for merging it! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants