Apply suggestions from code review

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Hugo van Kemenade 2022-04-25 18:23:10 +03:00 committed by GitHub
parent fc68755de9
commit ceb574014f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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`.",
) )

View File

@ -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.'
), ),
) )

View File

@ -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'.",
) )