Skip to content

Commit 1905518

Browse files
authored
Merge pull request #14107 from pytest-dev/patchback/backports/9.0.x/317ea9a7c887cccede7e42bc6d82533d3be68c26/pr-14106
[PR #14106/317ea9a7 backport][9.0.x] typing: default for xfail condition is `True`
2 parents 0d33475 + 28c4da8 commit 1905518

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
@@ -496,7 +496,7 @@ def __call__(self, arg: Markable) -> Markable: ...
496496
@overload
497497
def __call__(
498498
self,
499-
condition: str | bool = False,
499+
condition: str | bool = True,
500500
*conditions: str | bool,
501501
reason: str = ...,
502502
run: bool = ...,

0 commit comments

Comments
 (0)