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

7.0 and test_deprecation_warning_as_error #8833

Closed
The-Compiler opened this issue Jun 30, 2021 · 2 comments
Closed

7.0 and test_deprecation_warning_as_error #8833

The-Compiler opened this issue Jun 30, 2021 · 2 comments
Assignees
Milestone

Comments

@The-Compiler
Copy link
Member

@pytest.mark.parametrize("change_default", [None, "ini", "cmdline"])
@pytest.mark.skip(
reason="This test should be enabled again before pytest 7.0 is released"
)
def test_deprecation_warning_as_error(pytester: Pytester, change_default) -> None:
"""This ensures that PytestDeprecationWarnings raised by pytest are turned into errors.
This test should be enabled as part of each major release, and skipped again afterwards
to ensure our deprecations are turning into warnings as expected.
"""

what's the plan there for 7.0? @nicoddemus?

@The-Compiler The-Compiler added this to the 7.0 milestone Jun 30, 2021
@nicoddemus
Copy link
Member

I will take a look into this together with #7363. 👍

@nicoddemus
Copy link
Member

Will be handled appropriately in #7363 (see #8837 also).

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 a pull request may close this issue.

2 participants