Skip to content

Commit 0f749bc

Browse files
authored
Update hypothesis-python/src/hypothesis/core.py
1 parent ba6bb90 commit 0f749bc

File tree

1 file changed

+1
-1
lines changed
  • hypothesis-python/src/hypothesis

1 file changed

+1
-1
lines changed

hypothesis-python/src/hypothesis/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def xfail(
168168
condition: bool = True,
169169
*,
170170
reason: str = "",
171-
raises: Union[Type[BaseException], Tuple[BaseException, ...]] = BaseException,
171+
raises: Union[Type[BaseException], Tuple[Type[BaseException], ...]] = BaseException,
172172
) -> "example":
173173
"""Mark this example as an expected failure, like pytest.mark.xfail().
174174

0 commit comments

Comments
 (0)