Fix small typo in pluggy writing hook functions docs (#8961)

Fix small typo in pluggy writing hook functions docs
This commit is contained in:
Bruno Oliveira 2021-07-30 22:27:01 -03:00 committed by GitHub
commit 60d9891474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -261,9 +261,9 @@ and use pytest_addoption as follows:
def pytest_addhooks(pluginmanager):
""" This example assumes the hooks are grouped in the 'hooks' module. """
from . import hook
from . import hooks
pluginmanager.add_hookspecs(hook)
pluginmanager.add_hookspecs(hooks)
def pytest_addoption(parser, pluginmanager):