From 0c21d60349e9e91e6c369709d7a47236d5effbb5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 7 Oct 2022 11:10:28 -0300 Subject: [PATCH] Improve documentation for setup() and teardown() nose support Fix #9549 --- doc/en/how-to/nose.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/how-to/nose.rst b/doc/en/how-to/nose.rst index 4bf8b06c3..621c243b2 100644 --- a/doc/en/how-to/nose.rst +++ b/doc/en/how-to/nose.rst @@ -23,8 +23,8 @@ make use of pytest's capabilities. Supported nose Idioms ---------------------- -* setup and teardown at module/class/method level -* SkipTest exceptions and markers +* ``setup()`` and ``teardown()`` at module/class/method level: any function or method called ``setup`` will be called during the setup phase for each test, same for ``teardown``. +* ``SkipTest`` exceptions and markers * setup/teardown decorators * ``__test__`` attribute on modules/classes/functions * general usage of nose utilities