From 45d36ddb47e48a7277ff1c671427be563f3139e4 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 8 Jun 2019 12:44:40 -0700 Subject: [PATCH] Merge pull request #5421 from nicoddemus/raises-warning-message Link deprecation docs pytest.raises 'message' warning --- src/_pytest/deprecated.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/deprecated.py b/src/_pytest/deprecated.py index 6283a8402..12394aca3 100644 --- a/src/_pytest/deprecated.py +++ b/src/_pytest/deprecated.py @@ -40,8 +40,8 @@ GETFUNCARGVALUE = RemovedInPytest4Warning( 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(