diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-05-06 12:43:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 12:43:51 -0300 |
commit | 199f45d0a95338850f515aee37249ae6be65aca8 (patch) | |
tree | d5c24039c1d5edde285a5dcc75d701e09b3a6d36 /doc/en/deprecations.rst | |
parent | d16ae0bbdc3a1d51a7d85ee4c1bf0eaf49ce29c8 (diff) | |
parent | 51c1ae89cdae01019d2e94118ce91d143043e073 (diff) | |
download | pytest-199f45d0a95338850f515aee37249ae6be65aca8.tar.gz |
Merge pull request #7027 from blueyed/doc-rm-rm
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r-- | doc/en/deprecations.rst | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index bd7a6ac99..fbcaf2ce4 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -625,40 +625,3 @@ As a stopgap measure, plugin authors may still inject their names into pytest's def pytest_configure(): pytest.my_symbol = MySymbol() - - - - -Reinterpretation mode (``--assert=reinterp``) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. versionremoved:: 3.0 - -Reinterpretation mode has now been removed and only plain and rewrite -mode are available, consequently the ``--assert=reinterp`` option is -no longer available. This also means files imported from plugins or -``conftest.py`` will not benefit from improved assertions by -default, you should use ``pytest.register_assert_rewrite()`` to -explicitly turn on assertion rewriting for those files. - -Removed command-line options -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. versionremoved:: 3.0 - -The following deprecated commandline options were removed: - -* ``--genscript``: no longer supported; -* ``--no-assert``: use ``--assert=plain`` instead; -* ``--nomagic``: use ``--assert=plain`` instead; -* ``--report``: use ``-r`` instead; - -py.test-X* entry points -~~~~~~~~~~~~~~~~~~~~~~~ - -.. versionremoved:: 3.0 - -Removed all ``py.test-X*`` entry points. The versioned, suffixed entry points -were never documented and a leftover from a pre-virtualenv era. These entry -points also created broken entry points in wheels, so removing them also -removes a source of confusion for users. |