diff --git a/doc/en/assert.rst b/doc/en/assert.rst index ff11be21a..60edbf2a3 100644 --- a/doc/en/assert.rst +++ b/doc/en/assert.rst @@ -268,7 +268,7 @@ modules directly discovered by its test collection process, so **asserts in supporting modules which are not themselves test modules will not be rewritten**. You can manually enable assertion rewriting for an imported module by calling -`register_assert_rewrite`_ +`register_assert_rewrite `_ before you import it (a good place to do that is in ``conftest.py``). .. note::