Skip to content

Commit

Permalink
Merge pull request #7027 from blueyed/doc-rm-rm
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed May 6, 2020
2 parents d16ae0b + 51c1ae8 commit 199f45d
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions doc/en/deprecations.rst
Expand Up @@ -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.

0 comments on commit 199f45d

Please sign in to comment.