Skip to content

Commit

Permalink
Fix small typo in pluggy writing hook functions docs (#8961)
Browse files Browse the repository at this point in the history
Fix small typo in pluggy writing hook functions docs
  • Loading branch information
nicoddemus committed Jul 31, 2021
2 parents d5c62d0 + a9a934e commit 60d9891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/en/how-to/writing_hook_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 60d9891

Please sign in to comment.