diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2018-09-25 08:12:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 08:12:55 -0300 |
commit | b03bad5dbbddd851d0a164da56efe4d870a085bb (patch) | |
tree | 683d549e413f38326a3be98eb09d06cd840ead4a /doc/en/assert.rst | |
parent | 19ec300b2a05ccce0346417f1252040306ed7451 (diff) | |
download | pytest-b03bad5dbbddd851d0a164da56efe4d870a085bb.tar.gz |
Fix linting
Diffstat (limited to 'doc/en/assert.rst')
-rw-r--r-- | doc/en/assert.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/assert.rst b/doc/en/assert.rst index 60edbf2a3..d3deeb503 100644 --- a/doc/en/assert.rst +++ b/doc/en/assert.rst @@ -267,7 +267,7 @@ information into the assertion failure message. ``pytest`` only rewrites test 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 +You can manually enable assertion rewriting for an imported module by calling `register_assert_rewrite <https://docs.pytest.org/en/latest/writing_plugins.html#assertion-rewriting>`_ before you import it (a good place to do that is in ``conftest.py``). |