make lint happy

This commit is contained in:
Kim Yang 2025-12-13 12:35:07 +08:00
parent 3583fa7465
commit a588bee0fa
No known key found for this signature in database
GPG Key ID: E1BF72D952FFC43C

View File

@ -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.