Add versionadded tag to pytest_report_collectionfinish hook

This commit is contained in:
Bruno Oliveira 2017-07-27 15:33:22 -03:00
parent 75e6f7717c
commit 5acb64be90
1 changed files with 4 additions and 1 deletions

View File

@ -351,7 +351,10 @@ def pytest_report_header(config, startdir):
def pytest_report_collectionfinish(config, startdir, items):
""" return a string or list of strings to be displayed after collection has finished successfully.
"""
.. versionadded:: 3.2
return a string or list of strings to be displayed after collection has finished successfully.
This strings will be displayed after the standard "collected X items" message.