Skip to content

Commit f17b734

Browse files
authored
Improve help for --runxfail flag (#5188)
Improve help for --runxfail flag
2 parents 204004c + f050203 commit f17b734

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/5188.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve help for ``--runxfail`` flag.

src/_pytest/skipping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def pytest_addoption(parser):
1717
action="store_true",
1818
dest="runxfail",
1919
default=False,
20-
help="run tests even if they are marked xfail",
20+
help="report the results of xfail tests as if they were not marked",
2121
)
2222

2323
parser.addini(

0 commit comments

Comments
 (0)