Merge pull request #4182 from nicoddemus/fix-deprecations-hook-name

Fix hook name in deprecations.rst
This commit is contained in:
Bruno Oliveira 2018-10-17 16:18:52 -03:00 committed by GitHub
commit 8a768b0db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ Using ``Class`` in custom Collectors
.. deprecated:: 3.9 .. deprecated:: 3.9
Using objects named ``"Class"`` as a way to customize the type of nodes that are collected in ``Collector`` 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. collection.
This issue should affect only advanced plugins who create new collection types, so if you see this warning This issue should affect only advanced plugins who create new collection types, so if you see this warning