Skip to content

Commit 317ea9a

Browse files
authored
Merge pull request #14106 from flying-sheep/xfail-default
typing: default for xfail condition is `True`
2 parents abd0154 + 2c8225a commit 317ea9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_pytest/mark/structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def __call__(self, arg: Markable) -> Markable: ...
509509
@overload
510510
def __call__(
511511
self,
512-
condition: str | bool = False,
512+
condition: str | bool = True,
513513
*conditions: str | bool,
514514
reason: str = ...,
515515
run: bool = ...,

0 commit comments

Comments
 (0)