Fix caplog docstring: indentation caused errors during docs build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user