Improve TestReport.sections docs a bit

Related to #1790
This commit is contained in:
Bruno Oliveira 2016-08-03 21:57:58 -03:00
parent ff296fd541
commit 530b0050b4
1 changed files with 4 additions and 2 deletions

View File

@ -306,8 +306,10 @@ class TestReport(BaseReport):
#: one of 'setup', 'call', 'teardown' to indicate runtest phase.
self.when = when
#: list of (secname, data) extra information which needs to
#: marshallable
#: list of pairs ``(str, str)`` of extra information which needs to
#: marshallable. Used by pytest to add captured text
#: from ``stdout`` and ``stderr``, but may be used by other plugins
#: to add arbitrary information to reports.
self.sections = list(sections)
#: time it took to run just the test