diff --git a/src/_pytest/cacheprovider.py b/src/_pytest/cacheprovider.py index acf72d121..af0e88a53 100755 --- a/src/_pytest/cacheprovider.py +++ b/src/_pytest/cacheprovider.py @@ -448,7 +448,7 @@ def pytest_addoption(parser: Parser) -> None: "--failed-first", action="store_true", 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 " "repeated fixture setup/teardown.", ) diff --git a/src/_pytest/helpconfig.py b/src/_pytest/helpconfig.py index 86f794142..151bc6dff 100644 --- a/src/_pytest/helpconfig.py +++ b/src/_pytest/helpconfig.py @@ -65,7 +65,7 @@ def pytest_addoption(parser: Parser) -> None: dest="plugins", default=[], 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. " "`no:doctest`.", ) @@ -83,8 +83,8 @@ def pytest_addoption(parser: Parser) -> None: const="pytestdebug.log", dest="debug", metavar="DEBUG_FILE_NAME", - help="Store internal tracing debug information in this log file.\n" - "This file is opened with 'w' and truncated as a result, care advised.\n" + help="Store internal tracing debug information in this log file. " + "This file is opened with 'w' and truncated as a result, care advised. " "Default: pytestdebug.log.", ) group._addoption( diff --git a/src/_pytest/stepwise.py b/src/_pytest/stepwise.py index 87a49a7f5..84f1a6ce8 100644 --- a/src/_pytest/stepwise.py +++ b/src/_pytest/stepwise.py @@ -31,7 +31,7 @@ def pytest_addoption(parser: Parser) -> None: action="store_true", default=False, 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.", )