From 6a2f177fced20d10b01d88502bdfae6752ad0d5b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 11 Mar 2022 09:53:30 -0300 Subject: [PATCH] [7.0.x] 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