!32 Mention that wrappers are still invoked when using firstresult
From: @linker99 Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
e5b849d02f
26
Mention-that-wrappers-are-still-invoked-when-using-f.patch
Normal file
26
Mention-that-wrappers-are-still-invoked-when-using-f.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -3,12 +3,13 @@
|
|||||||
|
|
||||||
Name: python-pluggy
|
Name: python-pluggy
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A minimalist production ready plugin system
|
Summary: A minimalist production ready plugin system
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pytest-dev/pluggy
|
URL: https://github.com/pytest-dev/pluggy
|
||||||
Source0: https://github.com/pytest-dev/%{pypi_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/pytest-dev/%{pypi_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: Fix-typos.patch
|
Patch0: Fix-typos.patch
|
||||||
|
Patch1: Mention-that-wrappers-are-still-invoked-when-using-f.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools
|
BuildRequires: python2-devel python2-setuptools
|
||||||
@ -72,6 +73,9 @@ py.test-%{python3_version} testing
|
|||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 27 2023 fandehui <fandehui@xfusion.com> - 0.6.0-8
|
||||||
|
- Mention that wrappers are still invoked when using `firstresult`
|
||||||
|
|
||||||
* Fri Oct 20 2023 fandehui <fandehui@xfusion.com> - 0.6.0-7
|
* Fri Oct 20 2023 fandehui <fandehui@xfusion.com> - 0.6.0-7
|
||||||
- Fix typos
|
- Fix typos
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user