Merge pull request #8664 from hroncok/test_unittest-ignore_DeprecationWarning-from-twisted
Ignore DeprecationWarnings in test_trial_error
(cherry picked from commit 850a844779
)
This commit is contained in:
parent
c30ffc5b46
commit
ea35fd299a
|
@ -533,7 +533,9 @@ class TestTrialUnittest:
|
||||||
# will crash both at test time and at teardown
|
# 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(
|
result.stdout.fnmatch_lines(
|
||||||
[
|
[
|
||||||
"test_trial_error.py::TC::test_four FAILED",
|
"test_trial_error.py::TC::test_four FAILED",
|
||||||
|
|
Loading…
Reference in New Issue