fix minor typo in writing hook functions documentation

This commit is contained in:
symonk 2021-07-31 01:49:53 +01:00
parent d5c62d0326
commit a9a934e8ce
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):