Merge pull request #5425 from asottile/backport-5421
[4.6] Link deprecation docs pytest.raises 'message' warning
This commit is contained in:
commit
f37ea715d8
|
@ -40,8 +40,8 @@ GETFUNCARGVALUE = RemovedInPytest4Warning(
|
||||||
RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning(
|
RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning(
|
||||||
"The 'message' parameter is deprecated.\n"
|
"The 'message' parameter is deprecated.\n"
|
||||||
"(did you mean to use `match='some regex'` to check the exception message?)\n"
|
"(did you mean to use `match='some regex'` to check the exception message?)\n"
|
||||||
"Please comment on https://github.com/pytest-dev/pytest/issues/3974 "
|
"Please see:\n"
|
||||||
"if you have concerns about removal of this parameter."
|
" https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises"
|
||||||
)
|
)
|
||||||
|
|
||||||
RESULT_LOG = PytestDeprecationWarning(
|
RESULT_LOG = PytestDeprecationWarning(
|
||||||
|
|
Loading…
Reference in New Issue