Change deprecation type of --result-log to PytestDeprecationWarning

It was decided to deprecate this on a later date (see discussion in #4447)
This commit is contained in:
Bruno Oliveira
2018-11-22 21:14:53 -02:00
parent 06dc6e3490
commit b05061dcd2
5 changed files with 15 additions and 12 deletions

View File

@@ -56,9 +56,9 @@ GETFUNCARGVALUE = RemovedInPytest4Warning(
"getfuncargvalue is deprecated, use getfixturevalue"
)
RESULT_LOG = RemovedInPytest4Warning(
"--result-log is deprecated and scheduled for removal in pytest 4.0.\n"
"See https://docs.pytest.org/en/latest/usage.html#creating-resultlog-format-files for more information."
RESULT_LOG = PytestDeprecationWarning(
"--result-log is deprecated and scheduled for removal in pytest 5.0.\n"
"See https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log for more information."
)
MARK_INFO_ATTRIBUTE = RemovedInPytest4Warning(