|
@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?
pytest/testing/test_warnings.py
Lines 520 to 529 in 9cdb722
what's the plan there for 7.0? @nicoddemus?