Fix caplog docstring: indentation caused errors during docs build

This commit is contained in:
Bruno Oliveira 2018-03-16 00:04:28 -03:00
parent fbcf1a90c9
commit 278d8ac74e
1 changed files with 1 additions and 2 deletions

View File

@ -292,8 +292,7 @@ def caplog(request):
* caplog.text() -> string containing formatted log output
* caplog.records() -> list of logging.LogRecord instances
* caplog.record_tuples() -> list of (logger_name, level, message) tuples
* caplog.clear() -> clear captured records and formatted log output
string
* caplog.clear() -> clear captured records and formatted log output string
"""
result = LogCaptureFixture(request.node)
yield result