Merge pull request #7846 from asottile/py36_black
py36+: update the target version of black to py36
This commit is contained in:
@@ -559,7 +559,7 @@ _E = TypeVar("_E", bound=BaseException)
|
||||
def raises(
|
||||
expected_exception: Union[Type[_E], Tuple[Type[_E], ...]],
|
||||
*,
|
||||
match: Optional[Union[str, Pattern[str]]] = ...
|
||||
match: Optional[Union[str, Pattern[str]]] = ...,
|
||||
) -> "RaisesContext[_E]":
|
||||
...
|
||||
|
||||
@@ -569,7 +569,7 @@ def raises(
|
||||
expected_exception: Union[Type[_E], Tuple[Type[_E], ...]],
|
||||
func: Callable[..., Any],
|
||||
*args: Any,
|
||||
**kwargs: Any
|
||||
**kwargs: Any,
|
||||
) -> _pytest._code.ExceptionInfo[_E]:
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user