Fix versionadded tag in caplog function

This commit is contained in:
Bruno Oliveira 2018-02-05 20:22:21 -02:00 committed by GitHub
parent c0ef4a4d35
commit 2d0c1e941e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class BaseReport(object):
def caplog(self): def caplog(self):
"""Return captured log lines, if log capturing is enabled """Return captured log lines, if log capturing is enabled
.. versionadded:: 3.4 .. versionadded:: 3.5
""" """
return '\n'.join(content for (prefix, content) in self.get_sections('Captured log')) return '\n'.join(content for (prefix, content) in self.get_sections('Captured log'))