]> git.pld-linux.org Git - packages/python-urllib3.git/blame - python-urllib3-httplib.patch
rebuild with tests and docs
[packages/python-urllib3.git] / python-urllib3-httplib.patch
CommitLineData
65b3314d
JB
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
f5006321
JB
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
65b3314d 12 import pytest
f5006321 13 import StringIO
f5006321 14 from mock import patch
This page took 0.267511 seconds and 4 git commands to generate.