py36+: update the target version of black to py36

This commit is contained in:
Anthony Sottile
2020-10-02 13:09:35 -07:00
parent 6ed07a1c25
commit f295b0267d
16 changed files with 28 additions and 28 deletions

View File

@@ -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( # noqa: F811
expected_exception: Union[Type[_E], Tuple[Type[_E], ...]],
func: Callable[..., Any],
*args: Any,
**kwargs: Any
**kwargs: Any,
) -> _pytest._code.ExceptionInfo[_E]:
...