Skip to content

Commit

Permalink
Fix versionadded tag in caplog function
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus authored Feb 5, 2018
1 parent c0ef4a4 commit 2d0c1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pytest/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def longreprtext(self):
def caplog(self):
"""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'))

Expand Down

0 comments on commit 2d0c1e9

Please sign in to comment.