Merged in derdon/pytest/no-p-option (pull request #102)

added docs about the `no:` syntax for the -p option
This commit is contained in:
holger krekel
2014-01-20 13:22:31 +01:00
2 changed files with 14 additions and 1 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ def pytest_addoption(parser):
help="show help message and configuration info")
group._addoption('-p', action="append", dest="plugins", default = [],
metavar="name",
help="early-load given plugin (multi-allowed).")
help="early-load given plugin (multi-allowed). "
"To avoid loading of plugins, use the `no:` prefix, e.g. "
"`no:doctest`.")
group.addoption('--traceconfig', '--trace-config',
action="store_true", default=False,
help="trace considerations of conftest.py files."),