diff --git a/httpcore/_exceptions.py b/httpcore/_exceptions.py index dd4637e3b..f28dcc256 100644 --- a/httpcore/_exceptions.py +++ b/httpcore/_exceptions.py @@ -3,7 +3,7 @@ @contextlib.contextmanager -def map_exceptions(map: Dict[Type[Exception], Type[Exception]]) -> Iterator[None]: +def map_exceptions(map: Dict[Type, Type]) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 diff --git a/requirements.txt b/requirements.txt index 1b457dc9c..6794c6740 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ black==21.12b0 coverage==6.2 flake8==4.0.1 isort==5.10.1 -mypy==0.910 +mypy==0.930 pytest==6.2.5 pytest-httpbin==1.0.1 pytest-trio==0.7.0