parent
4677580cae
commit
72cac9b1af
|
@ -512,12 +512,14 @@ class PytestPluginManager(PluginManager):
|
||||||
config.addinivalue_line(
|
config.addinivalue_line(
|
||||||
"markers",
|
"markers",
|
||||||
"tryfirst: mark a hook implementation function such that the "
|
"tryfirst: mark a hook implementation function such that the "
|
||||||
"plugin machinery will try to call it first/as early as possible.",
|
"plugin machinery will try to call it first/as early as possible. "
|
||||||
|
"DEPRECATED, use @pytest.hookimpl(tryfirst=True) instead.",
|
||||||
)
|
)
|
||||||
config.addinivalue_line(
|
config.addinivalue_line(
|
||||||
"markers",
|
"markers",
|
||||||
"trylast: mark a hook implementation function such that the "
|
"trylast: mark a hook implementation function such that the "
|
||||||
"plugin machinery will try to call it last/as late as possible.",
|
"plugin machinery will try to call it last/as late as possible. "
|
||||||
|
"DEPRECATED, use @pytest.hookimpl(trylast=True) instead.",
|
||||||
)
|
)
|
||||||
self._configured = True
|
self._configured = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue