From 06b6d5b1d58c59ddde05e40e063067c6322b650f Mon Sep 17 00:00:00 2001 From: Hunter Richards Date: Mon, 11 May 2020 15:36:08 -0500 Subject: [PATCH] Combine all mentions of `yield` into "Unsupported" section --- doc/en/nose.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/en/nose.rst b/doc/en/nose.rst index 2939d91e5..1ac70af6c 100644 --- a/doc/en/nose.rst +++ b/doc/en/nose.rst @@ -26,7 +26,6 @@ Supported nose Idioms * setup and teardown at module/class/method level * SkipTest exceptions and markers * setup/teardown decorators -* ``yield``-based tests and their setup (considered deprecated as of pytest 3.0) * ``__test__`` attribute on modules/classes/functions * general usage of nose utilities @@ -65,10 +64,8 @@ Unsupported idioms / known issues - no nose-configuration is recognized. -- ``yield``-based methods don't support ``setup`` properly because - the ``setup`` method is always called in the same class instance. - There are no plans to fix this currently because ``yield``-tests - are deprecated in pytest 3.0, with ``pytest.mark.parametrize`` - being the recommended alternative. +- ``yield``-based methods are unsupported as of pytest 4.1.0. They are + fundamentally incompatible with pytest because they don't support fixtures + properly since collection and test execution are separated. .. _nose: https://nose.readthedocs.io/en/latest/