From f0b855369c5d5163e64f88e8ea3172cfa38de5c8 Mon Sep 17 00:00:00 2001 From: Tim Hughes Date: Sun, 20 May 2018 19:14:06 +0100 Subject: [PATCH] fix typo --- doc/en/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/logging.rst b/doc/en/logging.rst index 44cfaaa28..b2d98f547 100644 --- a/doc/en/logging.rst +++ b/doc/en/logging.rst @@ -123,7 +123,7 @@ You can call ``caplog.clear()`` to reset the captured log records in a test:: assert ['Foo'] == [rec.message for rec in caplog.records] -The ``caplop.records`` attribute contains records from the current stage only, so +The ``caplog.records`` attribute contains records from the current stage only, so inside the ``setup`` phase it contains only setup logs, same with the ``call`` and ``teardown`` phases.