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

Fix tests with pytest 6.2 #2487

Merged
merged 1 commit into from Dec 20, 2020
Merged

Fix tests with pytest 6.2 #2487

merged 1 commit into from Dec 20, 2020

Conversation

yan12125
Copy link
Contributor

@yan12125 yan12125 commented Dec 13, 2020

Summary of changes

The latest pytest deprecates pytest.yield_fixture in favor of
pytest.fixture [1]. The changelog [2] says that both are the same.

[1] pytest-dev/pytest#7988
[2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12

Pull Request Checklist

The latest pytest deprecates pytest.yield_fixture in favor of
pytest.fixture [1]. The changelog [2] says that both are the same.

[1] pytest-dev/pytest#7988
[2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12
@thatch
Copy link
Contributor

thatch commented Dec 19, 2020

@jaraco Is there anything I can do to help either get this in, or restrict to pytest 5.x? I have a PR that's dependent on this one...

@jaraco
Copy link
Member

jaraco commented Dec 20, 2020

Beautiful. Thank you!

@jaraco jaraco merged commit 30b66d8 into pypa:main Dec 20, 2020
@yan12125 yan12125 deleted the fix-tests-pytest-6.2 branch December 20, 2020 17:17
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.

None yet

3 participants