fix help for --assertmode
This commit is contained in:
parent
914f689ee8
commit
d53feaf6f0
|
@ -25,8 +25,8 @@ def pytest_addoption(parser):
|
||||||
help="""control assertion debugging tools.
|
help="""control assertion debugging tools.
|
||||||
'off' performs no assertion debugging.
|
'off' performs no assertion debugging.
|
||||||
'old' reinterprets the expressions in asserts to glean information.
|
'old' reinterprets the expressions in asserts to glean information.
|
||||||
'new' rewrites the assert statements in test modules to provide sub-expression
|
'on' (the default) rewrites the assert statements in test modules to provide
|
||||||
results.""")
|
sub-expression results.""")
|
||||||
group._addoption('--no-assert', action="store_true", default=False,
|
group._addoption('--no-assert', action="store_true", default=False,
|
||||||
dest="noassert", help="DEPRECATED equivalent to --assertmode=off")
|
dest="noassert", help="DEPRECATED equivalent to --assertmode=off")
|
||||||
group._addoption('--nomagic', action="store_true", default=False,
|
group._addoption('--nomagic', action="store_true", default=False,
|
||||||
|
|
Loading…
Reference in New Issue