From ba5a2955443313dd4b49ce539508ef5be93966b2 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 17 Oct 2018 14:53:41 -0300 Subject: [PATCH] Fix hook name in deprecations.rst As mentioned in https://github.com/pytest-dev/pytest/issues/4128#issuecomment-430690498 --- 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 30746d035..3a06c7d5f 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -68,7 +68,7 @@ Using ``Class`` in custom Collectors .. deprecated:: 3.9 Using objects named ``"Class"`` as a way to customize the type of nodes that are collected in ``Collector`` -subclasses has been deprecated. Users instead should use ``pytest_collect_make_item`` to customize node types during +subclasses has been deprecated. Users instead should use ``pytest_pycollect_makeitem`` to customize node types during collection. This issue should affect only advanced plugins who create new collection types, so if you see this warning