From b0e5036cc68471439e41b71857a3d198a63b192b Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sun, 27 Feb 2022 08:30:21 +0100 Subject: [PATCH] Update doc/en/deprecations.rst Co-authored-by: Bruno Oliveira --- doc/en/deprecations.rst | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 1528781943f..aa888a9f513 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -109,19 +109,17 @@ should be changed to: def pytest_runtest_call(): ... -changed attributes: +Changed ``hookimpl`` attributes: -* hookimpl +* ``tryfirst`` +* ``trylast`` +* ``optionalhook`` +* ``hookwrapper`` - * tryfirst - * trylast - * optionalhook - * hookwrapper +Changed ``hookwrapper`` attributes: -* hookwrapper - - * firstresult - * historic +* ``firstresult`` +* ``historic`` ``py.path.local`` arguments for hooks replaced with ``pathlib.Path``