]> git.pld-linux.org Git - packages/python-urllib3.git/blob - python-urllib3-httplib.patch
8347bfb3958b085ea87355a1f87f1ef58d17fdae
[packages/python-urllib3.git] / python-urllib3-httplib.patch
1 --- urllib3-1.25.9/test/appengine/test_urlfetch.py.orig 2020-04-16 14:42:30.000000000 +0200
2 +++ urllib3-1.25.9/test/appengine/test_urlfetch.py      2020-06-08 06:18:42.266288014 +0200
3 @@ -2,7 +2,10 @@
4  App Engine sandbox enabled that urllib3 appropriately uses the App
5  Engine-patched version of httplib to make requests."""
6  
7 -import httplib
8 +try:
9 +    import httplib
10 +except ImportError:
11 +    import http.client as httplib
12  import StringIO
13  
14  from mock import patch
This page took 0.046623 seconds and 3 git commands to generate.