]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Don't try to inherit from the real response object
authorKevin McCarthy <me@kevinmccarthy.org>
Sun, 9 Mar 2014 06:16:45 +0000 (20:16 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sun, 9 Mar 2014 06:16:45 +0000 (20:16 -1000)
vcr/stubs/__init__.py

index 42d93df914dca37e11b01624612f8d85b7f27507..4345e779790db5dc14f560879b7d773503a3182e 100644 (file)
@@ -32,7 +32,7 @@ def parse_headers(header_list):
     headers = b"".join(header_list) + b"\r\n"
     return compat.get_httpmessage(headers)
 
-class VCRHTTPResponse(HTTPResponse):
+class VCRHTTPResponse(object):
     """
     Stub reponse class that gets returned instead of a HTTPResponse
     """