diff options
author | Zac Hatfield-Dodds <Zac-HD@users.noreply.github.com> | 2019-06-25 13:06:02 +1000 |
---|---|---|
committer | Zac-HD <zac.hatfield.dodds@gmail.com> | 2019-06-26 08:53:17 +1000 |
commit | ed85c831548f4bae256b9ce90973ab74bf95c59f (patch) | |
tree | 67c54a5c55fdb6ae0057e2980da4ec7a2f00a36f /src/_pytest/deprecated.py | |
parent | 64a63652278d43b99aec5b5a3f36afd220b01f90 (diff) | |
download | pytest-ed85c831548f4bae256b9ce90973ab74bf95c59f.tar.gz |
Deprecate funcargnames alias
Diffstat (limited to 'src/_pytest/deprecated.py')
-rw-r--r-- | src/_pytest/deprecated.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/_pytest/deprecated.py b/src/_pytest/deprecated.py index 1c544fd36..e31b9eb0e 100644 --- a/src/_pytest/deprecated.py +++ b/src/_pytest/deprecated.py @@ -40,6 +40,11 @@ GETFUNCARGVALUE = RemovedInPytest4Warning( "getfuncargvalue is deprecated, use getfixturevalue" ) +FUNCARGNAMES = PytestDeprecationWarning( + "The `funcargnames` attribute was an alias for `fixturenames`, " + "since pytest 2.3 - use the newer attribute instead." +) + RAISES_MESSAGE_PARAMETER = PytestDeprecationWarning( "The 'message' parameter is deprecated.\n" "(did you mean to use `match='some regex'` to check the exception message?)\n" |