python-pluggy/Mention-that-wrappers-are-still-invoked-when-using-f.patch

27 lines
794 B
Diff

From 6334e37c41af672ed26a65c06d657cc2e6579db4 Mon Sep 17 00:00:00 2001
From: Tyler Goodlet <tgoodlet@gmail.com>
Date: Tue, 13 Mar 2018 17:48:31 -0400
Subject: [PATCH] Mention that wrappers are still invoked when using
`firstresult`
Resolves #125
---
docs/index.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/index.rst b/docs/index.rst
index 8f0e2fe..2349017 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -357,6 +357,7 @@ then ``None``.
This can be useful for optimizing a call loop for which you are only
interested in a single core *hookimpl*. An example is the
`pytest_cmdline_main`_ central routine of ``pytest``.
+Note that all ``hookwrappers`` are still invoked with the first result.
Also see the `first result`_ section in the ``pytest`` docs.
--
2.27.0