MCPcopy Index your code
hub / github.com/python/cpython / getresponse

Method getresponse

Lib/test/test_urllib2.py:386–387  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

384 raise OSError()
385
386 def getresponse(self):
387 return MockHTTPResponse(MockFile(), {}, 200, "OK")
388
389 def close(self):
390 pass

Callers 15

make_request_and_skipFunction · 0.45
test_get_cssMethod · 0.45
test_lambdaMethod · 0.45
test_autolinkingMethod · 0.45
test_system_methodsMethod · 0.45
test_annotationsMethod · 0.45
test_404Method · 0.45
test_reuse_reconnectMethod · 0.45

Calls 2

MockHTTPResponseClass · 0.85
MockFileClass · 0.70

Tested by

no test coverage detected