From f50648a5c6f707abcd4ece5d649f3530a6b240e7 Mon Sep 17 00:00:00 2001 From: Fabian Egli Date: Fri, 11 Mar 2022 10:54:28 +0100 Subject: [PATCH] Fix typo in deprecation documentation --- doc/en/deprecations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index ce4985bd1..7eb140ae5 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -282,7 +282,7 @@ The ``pytest_warning_captured`` hook This hook has an `item` parameter which cannot be serialized by ``pytest-xdist``. -Use the ``pytest_warning_recored`` hook instead, which replaces the ``item`` parameter +Use the ``pytest_warning_recorded`` hook instead, which replaces the ``item`` parameter by a ``nodeid`` parameter. The ``pytest.collect`` module