Merge pull request #9572 from mgorny/backport-8664

Backport 8664 to 6.2.x
This commit is contained in:
Bruno Oliveira 2022-01-29 09:49:22 -03:00 committed by GitHub
commit 4e7a69d45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -533,7 +533,9 @@ class TestTrialUnittest:
# will crash both at test time and at teardown
"""
)
result = testdir.runpytest("-vv", "-oconsole_output_style=classic")
result = testdir.runpytest(
"-vv", "-oconsole_output_style=classic", "-W", "ignore::DeprecationWarning"
)
result.stdout.fnmatch_lines(
[
"test_trial_error.py::TC::test_four FAILED",