#2178 Remove inheritance from requests exceptions

Open Illia Batozskyi vz10
Showing 1 of 2 files from the diff.

@@ -12,7 +12,6 @@
Loading
12 12
# ANY KIND, either express or implied. See the License for the specific
13 13
# language governing permissions and limitations under the License.
14 14
from __future__ import unicode_literals
15 -
from botocore.vendored import requests
16 15
from botocore.vendored.requests.packages import urllib3
17 16
18 17
@@ -96,7 +95,7 @@
Loading
96 95
    fmt = 'Could not connect to the endpoint URL: "{endpoint_url}"'
97 96
98 97
99 -
class SSLError(ConnectionError, requests.exceptions.SSLError):
98 +
class SSLError(ConnectionError):
100 99
    fmt = 'SSL validation failed for {endpoint_url} {error}'
101 100
102 101
@@ -106,16 +105,15 @@
Loading
106 105
        'from endpoint URL: "{endpoint_url}".')
107 106
108 107
109 -
class ReadTimeoutError(HTTPClientError, requests.exceptions.ReadTimeout,
110 -
                       urllib3.exceptions.ReadTimeoutError):
108 +
class ReadTimeoutError(HTTPClientError, urllib3.exceptions.ReadTimeoutError):
111 109
    fmt = 'Read timeout on endpoint URL: "{endpoint_url}"'
112 110
113 111
114 -
class ConnectTimeoutError(ConnectionError, requests.exceptions.ConnectTimeout):
112 +
class ConnectTimeoutError(ConnectionError):
115 113
    fmt = 'Connect timeout on endpoint URL: "{endpoint_url}"'
116 114
117 115
118 -
class ProxyConnectionError(ConnectionError, requests.exceptions.ProxyError):
116 +
class ProxyConnectionError(ConnectionError):
119 117
    fmt = 'Failed to connect to proxy URL: "{proxy_url}"'
120 118
121 119

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
botocore -<.01% 97.59%
Project Totals (56 files) 97.59%
Loading