Skip to content

Commit

Permalink
Merge pull request #5421 from nicoddemus/raises-warning-message
Browse files Browse the repository at this point in the history
Link deprecation docs pytest.raises 'message' warning
  • Loading branch information
asottile committed Jun 8, 2019
2 parents 4f597f0 + f0cee59 commit 83d1809
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/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises"
)

RESULT_LOG = PytestDeprecationWarning(
Expand Down

0 comments on commit 83d1809

Please sign in to comment.