Correct docs to config.pluginmanager.get_plugin()
`getplugin()` is deprecated in favor of `get_plugin()`.
dd97c94035/_pytest/config.py (L261)
This commit is contained in:
parent
dd97c94035
commit
b5ac61657a
|
@ -278,7 +278,7 @@ the plugin manager like this:
|
|||
|
||||
.. sourcecode:: python
|
||||
|
||||
plugin = config.pluginmanager.getplugin("name_of_plugin")
|
||||
plugin = config.pluginmanager.get_plugin("name_of_plugin")
|
||||
|
||||
If you want to look at the names of existing plugins, use
|
||||
the ``--trace-config`` option.
|
||||
|
|
Loading…
Reference in New Issue