From ceeb5149f307874d1f1c69571603178c6e334eea Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 5 Sep 2016 13:09:36 +0100 Subject: [PATCH] Mention register_assert_rewrite explicitly It helps mentioning this explicitly in the changelog. Fixes #1871. --- CHANGELOG.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b7ca19734..b269723f5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 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: