diff --git a/httpx/_models.py b/httpx/_models.py index 1acf9bef..67cb771c 100644 --- a/httpx/_models.py +++ b/httpx/_models.py @@ -841,9 +841,7 @@ class Response: self._raise_status_error(request) - def raise_for_excepted_status( - self, expected: typing.Sequence[int] - ) -> Response: + def raise_for_excepted_status(self, expected: typing.Sequence[int]) -> Response: """ Raise the `HTTPStatusError` unless the status code is in the `expected` list.