Postpone removal of --result-log to pytest 6.0

As we did not provide an alternative yet, it is better to postpone
the actual removal until we have provided a suitable and stable
alternative.

Related to #4488
This commit is contained in:
Bruno Oliveira
2019-06-11 21:19:30 -03:00
committed by Bruno Oliveira
parent 47447963b7
commit 52780f39ce
4 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ def test_resultlog_is_deprecated(testdir):
result = testdir.runpytest("--result-log=%s" % testdir.tmpdir.join("result.log"))
result.stdout.fnmatch_lines(
[
"*--result-log is deprecated and scheduled for removal in pytest 5.0*",
"*--result-log is deprecated and scheduled for removal in pytest 6.0*",
"*See https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log for more information*",
]
)