!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:
openeuler-ci-bot 2023-10-30 01:40:53 +00:00 committed by Gitee
commit e5b849d02f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View 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

View File

@ -3,12 +3,13 @@
Name: python-pluggy
Version: 0.6.0
Release: 7
Release: 8
Summary: A minimalist production ready plugin system
License: MIT
URL: https://github.com/pytest-dev/pluggy
Source0: https://github.com/pytest-dev/%{pypi_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: Fix-typos.patch
Patch1: Mention-that-wrappers-are-still-invoked-when-using-f.patch
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools
@ -72,6 +73,9 @@ py.test-%{python3_version} testing
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%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
- Fix typos