Skip to content

Commit f37ea71

Browse files
authored
Merge pull request #5425 from asottile/backport-5421
[4.6] Link deprecation docs pytest.raises 'message' warning
2 parents 355954d + 45d36dd commit f37ea71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/deprecated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning(
4141
"The 'message' parameter is deprecated.\n"
4242
"(did you mean to use `match='some regex'` to check the exception message?)\n"
43-
"Please comment on https://github.com/pytest-dev/pytest/issues/3974 "
44-
"if you have concerns about removal of this parameter."
43+
"Please see:\n"
44+
" https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises"
4545
)
4646

4747
RESULT_LOG = PytestDeprecationWarning(

0 commit comments

Comments
 (0)