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

Method create_connection

Lib/test/test_httplib.py:134–135  ·  view source on GitHub ↗
(self, *pos, **kw)

Source from the content-addressed store, hash-verified

132 return super().connect()
133
134 def create_connection(self, *pos, **kw):
135 return FakeSocket(*self.fake_socket_args)
136
137class HeaderTests(TestCase):
138 def test_auto_headers(self):

Callers

nothing calls this directly

Calls 1

FakeSocketClass · 0.70

Tested by

no test coverage detected