Change PytestRemovedIn7Warning to error by default
Per our backward compatibility policy. Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
@@ -682,7 +682,9 @@ class TestTerminalFunctional:
|
||||
pass
|
||||
"""
|
||||
)
|
||||
result = pytester.runpytest("-k", "test_two:", testpath)
|
||||
result = pytester.runpytest(
|
||||
"-Wignore::pytest.PytestRemovedIn7Warning", "-k", "test_two:", testpath
|
||||
)
|
||||
result.stdout.fnmatch_lines(
|
||||
["collected 3 items / 1 deselected / 2 selected", "*test_deselected.py ..*"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user