[7.4.x] Issue 11354 fixing docs for lfnf (#11364)

Co-authored-by: Sean Patrick Malloy <spmalloy@ucdavis.edu>
This commit is contained in:
github-actions[bot]
2023-08-29 00:40:49 +00:00
committed by GitHub
parent 7a5f2feefb
commit b170081788
3 changed files with 22 additions and 8 deletions

View File

@@ -505,7 +505,11 @@ def pytest_addoption(parser: Parser) -> None:
dest="last_failed_no_failures",
choices=("all", "none"),
default="all",
help="Which tests to run with no previously (known) failures",
help="With ``--lf``, determines whether to execute tests when there "
"are no previously (known) failures or when no "
"cached ``lastfailed`` data was found. "
"``all`` (the default) runs the full test suite again. "
"``none`` just emits a message about no known failures and exits successfully.",
)