]> git.pld-linux.org Git - packages/python-urllib3.git/blobdiff - python-urllib3-httplib.patch
- updated to 1.25.9
[packages/python-urllib3.git] / python-urllib3-httplib.patch
diff --git a/python-urllib3-httplib.patch b/python-urllib3-httplib.patch
new file mode 100644 (file)
index 0000000..8347bfb
--- /dev/null
@@ -0,0 +1,14 @@
+--- urllib3-1.25.9/test/appengine/test_urlfetch.py.orig        2020-04-16 14:42:30.000000000 +0200
++++ urllib3-1.25.9/test/appengine/test_urlfetch.py     2020-06-08 06:18:42.266288014 +0200
+@@ -2,7 +2,10 @@
+ App Engine sandbox enabled that urllib3 appropriately uses the App
+ Engine-patched version of httplib to make requests."""
+-import httplib
++try:
++    import httplib
++except ImportError:
++    import http.client as httplib
+ import StringIO
+ from mock import patch
This page took 0.040578 seconds and 4 git commands to generate.