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

Remove deprecations scheduled for removal in pytest 7.1 #9392

Merged
merged 6 commits into from Dec 8, 2021

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Dec 7, 2021

Fixes #8838. Split into commits for each removal.

@nicoddemus nicoddemus changed the title Remove deprecations scheduled for removal in pytest 7 Remove deprecations scheduled for removal in pytest 7.1 Dec 7, 2021
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.

Great work!


* ``pytest_warning_captured`` hook - use ``pytest_warning_recorded`` instead.

* ``message`` parameter of ``pytest.raises``.
Copy link
Member

@nicoddemus nicoddemus Dec 8, 2021

Choose a reason for hiding this comment

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

Just realized I didn't see this removal in this PR, did I miss something?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, I copy/pasted from the 6.x PR, left this by mistake.

@bluetech bluetech merged commit c7be96d into pytest-dev:main Dec 8, 2021
@bluetech bluetech deleted the rm-7-deprecated branch December 27, 2021 15:03
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.

Remove deprecated 7.0 features
2 participants