Mention register_assert_rewrite explicitly

It helps mentioning this explicitly in the changelog.
Fixes #1871.
This commit is contained in:
Floris Bruynooghe 2016-09-05 13:09:36 +01:00
parent b38cf77562
commit ceeb5149f3
1 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,11 @@ time or change existing behaviors in order to make them less surprising/more use
* Reinterpretation mode has now been removed. Only plain and rewrite * Reinterpretation mode has now been removed. Only plain and rewrite
mode are available, consequently the ``--assert=reinterp`` option is mode are available, consequently the ``--assert=reinterp`` option is
no longer available. Thanks `@flub`_ for the PR. 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. Thanks
`@flub`_ for the PR.
* The following deprecated commandline options were removed: * The following deprecated commandline options were removed: