]> git.pld-linux.org Git - packages/python-urllib3.git/blob - python-urllib3-httplib.patch
rebuild with python 3.10
[packages/python-urllib3.git] / python-urllib3-httplib.patch
1 --- urllib3-1.26.2/test/appengine/test_urlfetch.py.orig 2021-01-17 21:19:07.753047443 +0100
2 +++ urllib3-1.26.2/test/appengine/test_urlfetch.py      2021-01-17 21:20:34.032580026 +0100
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 pytest
13  import StringIO
14  from mock import patch
This page took 0.051114 seconds and 3 git commands to generate.