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