summaryrefslogtreecommitdiff
path: root/doc/en/writing_plugins.rst
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-04-07 08:08:28 +0200
committerGitHub <noreply@github.com>2020-04-07 08:08:28 +0200
commit1fd14685c5860b248c51c9a39de3595ab62f45da (patch)
tree7834e65eaaa085a59e94953ce3d7a18ace445b7e /doc/en/writing_plugins.rst
parentbf3e64d473f5ee1b05f18d61de7affcfc3f55687 (diff)
downloadpytest-1fd14685c5860b248c51c9a39de3595ab62f45da.tar.gz
doc: document inversed lines with terminal report hooks (#7016)
It was surprising that `tryfirst=True` would not result in lines being added to the beginning with `pytest_report_header`. This is due to lines being reversed, and therefore the same applies to `pytest_report_collectionfinish`.
Diffstat (limited to 'doc/en/writing_plugins.rst')
-rw-r--r--doc/en/writing_plugins.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst
index accda3634..87d81edb0 100644
--- a/doc/en/writing_plugins.rst
+++ b/doc/en/writing_plugins.rst
@@ -561,6 +561,7 @@ that result but it's probably better to avoid it.
For more information, consult the
:ref:`pluggy documentation about hookwrappers <pluggy:hookwrappers>`.
+.. _plugin-hookorder:
Hook function ordering / call example
-------------------------------------