Help: remove explicit newlines

This commit is contained in:
Hugo van Kemenade 2022-04-25 18:30:36 +03:00
parent edb257e84c
commit 2ed8a1fcd4
3 changed files with 5 additions and 5 deletions

View File

@ -448,7 +448,7 @@ def pytest_addoption(parser: Parser) -> None:
"--failed-first", "--failed-first",
action="store_true", action="store_true",
dest="failedfirst", dest="failedfirst",
help="Run all tests, but run the last failures first.\n" help="Run all tests, but run the last failures first. "
"This may re-order tests and thus lead to " "This may re-order tests and thus lead to "
"repeated fixture setup/teardown.", "repeated fixture setup/teardown.",
) )

View File

@ -65,7 +65,7 @@ def pytest_addoption(parser: Parser) -> None:
dest="plugins", dest="plugins",
default=[], default=[],
metavar="name", metavar="name",
help="Early-load given plugin module name or entry point (multi-allowed).\n" help="Early-load given plugin module name or entry point (multi-allowed). "
"To avoid loading of plugins, use the `no:` prefix, e.g. " "To avoid loading of plugins, use the `no:` prefix, e.g. "
"`no:doctest`.", "`no:doctest`.",
) )
@ -83,8 +83,8 @@ def pytest_addoption(parser: Parser) -> None:
const="pytestdebug.log", const="pytestdebug.log",
dest="debug", dest="debug",
metavar="DEBUG_FILE_NAME", metavar="DEBUG_FILE_NAME",
help="Store internal tracing debug information in this log file.\n" help="Store internal tracing debug information in this log file. "
"This file is opened with 'w' and truncated as a result, care advised.\n" "This file is opened with 'w' and truncated as a result, care advised. "
"Default: pytestdebug.log.", "Default: pytestdebug.log.",
) )
group._addoption( group._addoption(

View File

@ -31,7 +31,7 @@ def pytest_addoption(parser: Parser) -> None:
action="store_true", action="store_true",
default=False, default=False,
dest="stepwise_skip", dest="stepwise_skip",
help="Ignore the first failing test but stop on the next failing test.\n" help="Ignore the first failing test but stop on the next failing test. "
"Implicitly enables --stepwise.", "Implicitly enables --stepwise.",
) )