Fix caplog docstring: indentation caused errors during docs build
This commit is contained in:
parent
fbcf1a90c9
commit
278d8ac74e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue