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 b66019202e
commit 17468fc99c
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