Now dependent on command line option.

This commit is contained in:
Victor Maryama
2019-06-25 19:49:05 +02:00
parent cfbfa53f2b
commit 4db5488ed8
5 changed files with 112 additions and 38 deletions

View File

@@ -503,6 +503,8 @@ def pytest_assertion_pass(item, lineno, orig, expl):
This hook is still *experimental*, so its parameters or even the hook itself might
be changed/removed without warning in any future pytest release.
It should be enabled using the `--enable-assertion-pass-hook` command line option.
If you find this hook useful, please share your feedback opening an issue.
"""