Skip to content

Commit 28c4da8

Browse files
bluetechpatchback[bot]
authored andcommitted
Merge pull request #14106 from flying-sheep/xfail-default
typing: default for xfail condition is `True` (cherry picked from commit 317ea9a)
1 parent 0d33475 commit 28c4da8

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)