1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

patch: Save requests...HTTPSConnection

so that we unpatch back to the correct class in reset().

Closes #59
This commit is contained in:
Marc Abramowitz
2014-02-04 10:30:29 -08:00
parent 8620bc3af1
commit 559cd902e1

View File

@@ -13,6 +13,7 @@ try:
import requests.packages.urllib3.connectionpool as cpool
_VerifiedHTTPSConnection = cpool.VerifiedHTTPSConnection
_HTTPConnection = cpool.HTTPConnection
_HTTPSConnection = cpool.HTTPSConnection
except ImportError: # pragma: no cover
pass