add a note about the deprecation of the pytest_namespace hook
This commit is contained in:
parent
9b755f6ec6
commit
7d797b7dbf
|
@ -16,7 +16,9 @@ def pytest_addhooks(pluginmanager):
|
||||||
|
|
||||||
@hookspec(historic=True)
|
@hookspec(historic=True)
|
||||||
def pytest_namespace():
|
def pytest_namespace():
|
||||||
"""return dict of name->object to be made globally available in
|
"""
|
||||||
|
DEPRECATED: this hook causes direct monkeypatching on pytest, its use is strongly discouraged
|
||||||
|
return dict of name->object to be made globally available in
|
||||||
the pytest namespace. This hook is called at plugin registration
|
the pytest namespace. This hook is called at plugin registration
|
||||||
time.
|
time.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue