Skip to content

Commit 60d9891

Browse files
authored
Fix small typo in pluggy writing hook functions docs (#8961)
Fix small typo in pluggy writing hook functions docs
2 parents d5c62d0 + a9a934e commit 60d9891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/how-to/writing_hook_functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ and use pytest_addoption as follows:
261261
262262
def pytest_addhooks(pluginmanager):
263263
""" This example assumes the hooks are grouped in the 'hooks' module. """
264-
from . import hook
264+
from . import hooks
265265
266-
pluginmanager.add_hookspecs(hook)
266+
pluginmanager.add_hookspecs(hooks)
267267
268268
269269
def pytest_addoption(parser, pluginmanager):

0 commit comments

Comments
 (0)