From 5acb64be900e499087bdff8d2e0a37683617b65f Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 27 Jul 2017 15:33:22 -0300 Subject: [PATCH] Add versionadded tag to pytest_report_collectionfinish hook --- _pytest/hookspec.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_pytest/hookspec.py b/_pytest/hookspec.py index f7b53e892..1fdc2456e 100644 --- a/_pytest/hookspec.py +++ b/_pytest/hookspec.py @@ -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.