Skip to content

Commit 7b328dd

Browse files
committed
Link deprecation docs pytest.raises 'message' warning
As commented in #3974 (comment)
1 parent 9f5c356 commit 7b328dd

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
@@ -35,8 +35,8 @@
3535
RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning(
3636
"The 'message' parameter is deprecated.\n"
3737
"(did you mean to use `match='some regex'` to check the exception message?)\n"
38-
"Please comment on https://github.com/pytest-dev/pytest/issues/3974 "
39-
"if you have concerns about removal of this parameter."
38+
"Please see:\n"
39+
" https://docs.pytest.org/en/latest/deprecations.html#message-parameter-of-pytest-raises"
4040
)
4141

4242
RESULT_LOG = PytestDeprecationWarning(

0 commit comments

Comments
 (0)