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

Do not warn about outdated pytest version when pytest>=7 is installed #431

Conversation

seifertm
Copy link
Contributor

This PR fixes an issue in the check for the pytest version. The changes prevent a warning about an outdated version of pytest to be emitted when the most recent version of pytest is installed.

Fixes #430.

@seifertm seifertm force-pushed the silence-deprecation-warning-when-using-pytest-7 branch from 838dbdf to 34016fe Compare October 21, 2022 11:58
…alled.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm force-pushed the silence-deprecation-warning-when-using-pytest-7 branch from 34016fe to c18a6fa Compare October 21, 2022 12:07
@seifertm seifertm merged commit c8d0174 into pytest-dev:master Oct 21, 2022
@seifertm seifertm deleted the silence-deprecation-warning-when-using-pytest-7 branch October 23, 2023 06:16
@seifertm seifertm restored the silence-deprecation-warning-when-using-pytest-7 branch October 23, 2023 08:17
@seifertm seifertm deleted the silence-deprecation-warning-when-using-pytest-7 branch October 23, 2023 08:35
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.

DeprecationWarning for pytest <7 is emitted on 0.20 with pytest >= 7
1 participant