Remove default arg from overloaded warns
This commit is contained in:
parent
24ad886b15
commit
2414d23c78
|
@ -84,7 +84,7 @@ def deprecated_call(
|
|||
|
||||
@overload
|
||||
def warns(
|
||||
expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = ...,
|
||||
expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]],
|
||||
*,
|
||||
match: Optional[Union[str, Pattern[str]]] = ...,
|
||||
) -> "WarningsChecker":
|
||||
|
|
Loading…
Reference in New Issue