Fix caplog docstring: indentation caused errors during docs build
This commit is contained in:
parent
b66019202e
commit
17468fc99c
|
@ -292,8 +292,7 @@ def caplog(request):
|
||||||
* caplog.text() -> string containing formatted log output
|
* caplog.text() -> string containing formatted log output
|
||||||
* caplog.records() -> list of logging.LogRecord instances
|
* caplog.records() -> list of logging.LogRecord instances
|
||||||
* caplog.record_tuples() -> list of (logger_name, level, message) tuples
|
* caplog.record_tuples() -> list of (logger_name, level, message) tuples
|
||||||
* caplog.clear() -> clear captured records and formatted log output
|
* caplog.clear() -> clear captured records and formatted log output string
|
||||||
string
|
|
||||||
"""
|
"""
|
||||||
result = LogCaptureFixture(request.node)
|
result = LogCaptureFixture(request.node)
|
||||||
yield result
|
yield result
|
||||||
|
|
Loading…
Reference in New Issue