From 2cf4c67e453e6a673f5b4e9403177f2d2e2a754c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 24 Oct 2018 23:57:11 +0200 Subject: [PATCH] doc: fix caplog: s/methods/properties/ --- src/_pytest/logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/logging.py b/src/_pytest/logging.py index 8244c8030..0b2f08dea 100644 --- a/src/_pytest/logging.py +++ b/src/_pytest/logging.py @@ -263,7 +263,7 @@ class LogCaptureFixture(object): @property def record_tuples(self): - """Returns a list of a striped down version of log records intended + """Returns a list of a stripped down version of log records intended for use in assertion comparison. The format of the tuple is: @@ -330,7 +330,7 @@ class LogCaptureFixture(object): def caplog(request): """Access and control log capturing. - Captured logs are available through the following methods:: + Captured logs are available through the following properties/methods:: * caplog.text -> string containing formatted log output * caplog.records -> list of logging.LogRecord instances