PytestDeprecationWarning no longer a hard error
This commit is contained in:
@@ -513,6 +513,9 @@ class TestDeprecationWarningsByDefault:
|
||||
|
||||
|
||||
@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(testdir, change_default):
|
||||
"""This ensures that PytestDeprecationWarnings raised by pytest are turned into errors.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user