We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c919ab6 commit 7e0c462Copy full SHA for 7e0c462
1 file changed
_pytest/main.py
@@ -191,7 +191,7 @@ def __getattr__(self, name):
191
def compatproperty(name):
192
def fget(self):
193
import warnings
194
- warnings.warn("compatproperty is deprecated. Use pytest.name",
+ warnings.warn("This usage is deprecated, please use pytest.{0} instead".format(name),
195
PendingDeprecationWarning, stacklevel=2)
196
return getattr(pytest, name)
197
0 commit comments