Apply suggestions from code review
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
parent
fc68755de9
commit
ceb574014f
|
@ -92,7 +92,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
"--override-ini",
|
"--override-ini",
|
||||||
dest="override_ini",
|
dest="override_ini",
|
||||||
action="append",
|
action="append",
|
||||||
help='override ini option with "option=value" style, '
|
help='Override ini option with "option=value" style, '
|
||||||
"e.g. `-o xfail_strict=True -o cache_dir=cache`.",
|
"e.g. `-o xfail_strict=True -o cache_dir=cache`.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -228,8 +228,8 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
default=None,
|
default=None,
|
||||||
metavar="LEVEL",
|
metavar="LEVEL",
|
||||||
help=(
|
help=(
|
||||||
"Level of messages to catch/display.\n"
|
"Level of messages to catch/display."
|
||||||
"Not set by default, so it depends on the root/parent log handler's"
|
" Not set by default, so it depends on the root/parent log handler's"
|
||||||
' effective level, where it is "WARNING" by default.'
|
' effective level, where it is "WARNING" by default.'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -96,7 +96,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
dest="markexpr",
|
dest="markexpr",
|
||||||
default="",
|
default="",
|
||||||
metavar="MARKEXPR",
|
metavar="MARKEXPR",
|
||||||
help="Only run tests matching given mark expression.\n"
|
help="Only run tests matching given mark expression. "
|
||||||
"For example: -m 'mark1 and not mark2'.",
|
"For example: -m 'mark1 and not mark2'.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue