mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
Use extra asserts to use previously unused variables in tests, such as `cass` and `response`. Fix only pyflakes errors in docs/conf.py
16 lines
507 B
Python
16 lines
507 B
Python
'''Stubs for urllib3'''
|
|
|
|
from urllib3.connectionpool import HTTPConnection, VerifiedHTTPSConnection
|
|
from ..stubs import VCRHTTPConnection, VCRHTTPSConnection
|
|
|
|
# urllib3 defines its own HTTPConnection classes. It includes some polyfills
|
|
# for newer features missing in older pythons.
|
|
|
|
|
|
class VCRRequestsHTTPConnection(VCRHTTPConnection, HTTPConnection):
|
|
_baseclass = HTTPConnection
|
|
|
|
|
|
class VCRRequestsHTTPSConnection(VCRHTTPSConnection, VerifiedHTTPSConnection):
|
|
_baseclass = VerifiedHTTPSConnection
|