Skip to content

Commit

Permalink
Link deprecation docs pytest.raises 'message' warning
Browse files Browse the repository at this point in the history
As commented in #3974 (comment)
  • Loading branch information
nicoddemus committed Jun 7, 2019
1 parent 9f5c356 commit 7b328dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_pytest/deprecated.py
Expand Up @@ -35,8 +35,8 @@
RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning(
"The 'message' parameter is deprecated.\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 "
"if you have concerns about removal of this parameter."
"Please see:\n"
" https://docs.pytest.org/en/latest/deprecations.html#message-parameter-of-pytest-raises"
)

RESULT_LOG = PytestDeprecationWarning(
Expand Down

0 comments on commit 7b328dd

Please sign in to comment.