Fix versionadded tag in caplog function
This commit is contained in:
parent
c0ef4a4d35
commit
2d0c1e941e
|
@ -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'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue