Blame SOURCES/0002-Use-system-urllib3-package.patch

fd16c0
From e1f48323a1eb73018e3929eeac65b26eee7207ea Mon Sep 17 00:00:00 2001
fd16c0
From: Jamie Lennox <jamielennox@gmail.com>
fd16c0
Date: Wed, 4 Dec 2019 21:56:45 +1100
fd16c0
Subject: [PATCH] Use system urllib3 package
fd16c0
fd16c0
The fedora requests package uses the system urllib3 rather than the one
fd16c0
bundled into requests. requests-mock must therefore do the same thing.
fd16c0
---
fd16c0
 requests_mock/response.py | 2 +-
fd16c0
 1 file changed, 1 insertion(+), 1 deletion(-)
fd16c0
fd16c0
diff --git a/requests_mock/response.py b/requests_mock/response.py
fd16c0
index d081cf5..13ab2b8 100644
fd16c0
--- a/requests_mock/response.py
fd16c0
+++ b/requests_mock/response.py
fd16c0
@@ -16,9 +16,9 @@ from requests.adapters import HTTPAdapter
fd16c0
 from requests.cookies import MockRequest, MockResponse
fd16c0
 from requests.cookies import RequestsCookieJar
fd16c0
 from requests.cookies import merge_cookies, cookiejar_from_dict
fd16c0
-from requests.packages.urllib3.response import HTTPResponse
fd16c0
 from requests.utils import get_encoding_from_headers
fd16c0
 import six
fd16c0
+from urllib3.response import HTTPResponse
fd16c0
fd16c0
 from requests_mock import compat
fd16c0
 from requests_mock import exceptions
fd16c0
--
fd16c0
2.21.0
fd16c0