Remove default arg from overloaded warns

This commit is contained in:
Olga Matoula 2021-05-16 13:44:56 +01:00
parent 24ad886b15
commit 2414d23c78
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def deprecated_call(
@overload @overload
def warns( def warns(
expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = ..., expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]],
*, *,
match: Optional[Union[str, Pattern[str]]] = ..., match: Optional[Union[str, Pattern[str]]] = ...,
) -> "WarningsChecker": ) -> "WarningsChecker":