Fix linting
This commit is contained in:
parent
19ec300b2a
commit
b03bad5dbb
|
@ -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
|
modules directly discovered by its test collection process, so **asserts in
|
||||||
supporting modules which are not themselves test modules will not be rewritten**.
|
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>`_
|
`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``).
|
before you import it (a good place to do that is in ``conftest.py``).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue