File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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):
114114- :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429
115115- :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503
116116- :class:`requests.exceptions.ConnectionError`
117- - :class:`requests.exceptions.ChunkedEncodingError` - The server declared
117+ - :class:`requests.exceptions.ChunkedEncodingError` - The server declared
118118 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
120120 error occurred during an HTTP request.
121121"""
122122# 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():
102102
103103def test_from_http_response_text_content ():
104104 response = make_response (b"message" )
105+ response .encoding = "UTF8" # suppress charset_normalizer warning
105106
106107 exception = exceptions .from_http_response (response )
107108
You can’t perform that action at this time.
0 commit comments