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 4677580 commit 72cac9bCopy full SHA for 72cac9b
src/_pytest/config/__init__.py
@@ -512,12 +512,14 @@ def pytest_configure(self, config: "Config") -> None:
512
config.addinivalue_line(
513
"markers",
514
"tryfirst: mark a hook implementation function such that the "
515
- "plugin machinery will try to call it first/as early as possible.",
+ "plugin machinery will try to call it first/as early as possible. "
516
+ "DEPRECATED, use @pytest.hookimpl(tryfirst=True) instead.",
517
)
518
519
520
"trylast: mark a hook implementation function such that the "
- "plugin machinery will try to call it last/as late as possible.",
521
+ "plugin machinery will try to call it last/as late as possible. "
522
+ "DEPRECATED, use @pytest.hookimpl(trylast=True) instead.",
523
524
self._configured = True
525
0 commit comments