From 2d0c1e941ef096f4c6a82ee84c659112bf2f9da0 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 5 Feb 2018 20:22:21 -0200 Subject: [PATCH] Fix versionadded tag in caplog function --- _pytest/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/runner.py b/_pytest/runner.py index fda8c785a81..b41a3d350f0 100644 --- a/_pytest/runner.py +++ b/_pytest/runner.py @@ -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'))