Combine all mentions of `yield` into "Unsupported" section

This commit is contained in:
Hunter Richards 2020-05-11 15:36:08 -05:00
parent 6356583eab
commit 06b6d5b1d5
1 changed files with 3 additions and 6 deletions

View File

@ -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/