File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ def if_exception_type_predicate(exception):
114
114
- :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429
115
115
- :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503
116
116
- :class:`requests.exceptions.ConnectionError`
117
- - :class:`requests.exceptions.ChunkedEncodingError` - The server declared
117
+ - :class:`requests.exceptions.ChunkedEncodingError` - The server declared
118
118
chunked encoding but sent an invalid chunk.
119
- - :class:`google.auth.exceptions.TransportError` - Used to indicate an
119
+ - :class:`google.auth.exceptions.TransportError` - Used to indicate an
120
120
error occurred during an HTTP request.
121
121
"""
122
122
# pylint: enable=invalid-name
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def test_from_http_response_no_content():
102
102
103
103
def test_from_http_response_text_content ():
104
104
response = make_response (b"message" )
105
+ response .encoding = "UTF8" # suppress charset_normalizer warning
105
106
106
107
exception = exceptions .from_http_response (response )
107
108
You can’t perform that action at this time.
0 commit comments