Skip to content

Commit 17468fc

Browse files
committed
Fix caplog docstring: indentation caused errors during docs build
1 parent b660192 commit 17468fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_pytest/logging.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ def caplog(request):
292292
* caplog.text() -> string containing formatted log output
293293
* caplog.records() -> list of logging.LogRecord instances
294294
* caplog.record_tuples() -> list of (logger_name, level, message) tuples
295-
* caplog.clear() -> clear captured records and formatted log output
296-
string
295+
* caplog.clear() -> clear captured records and formatted log output string
297296
"""
298297
result = LogCaptureFixture(request.node)
299298
yield result

0 commit comments

Comments
 (0)